Page 1 of 1

Problem with gammai

Posted: Wed Oct 22, 2003 11:51 pm
by Bat
When calling (gammai n m) with n=0 (not the right thing to do, but can happen) my computer crashes badly. I must make a hard reset. OS: Windows XP. Pentium III.
Maybe some error trapping would do well.

Posted: Thu Oct 23, 2003 1:04 am
by Lutz
Thanks for catching this.

Same happens with 'beta' and 'gammaln', which all depend on gammaln, which crashes when called with 0. This will be taken care of in the next version with an error message.


Lutz