newLISP Fan Club

Forum => newLISP in the real world => Topic started by: Bat on October 22, 2003, 04:51:55 PM

Title: Problem with gammai
Post by: Bat on October 22, 2003, 04:51:55 PM
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.
Title:
Post by: Lutz on October 22, 2003, 06:04:42 PM
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