trying to check whether a numerical expression is NaN or not. My expression is log(arcsin(e)). If I apply N() on the expression it goes into infinite loop. I try to catch the runtime error. Everything seems to work in the following code except the error message displayed. I do not want that message in output. Any way to turn the error message off.
This certainly is weird. I think you have an indentation problem in your post, but that doesn't seem to be the problem.
The following is slightly simpler, but also prints the error message for me. (It also prints the error message when I use
Note, by contrast, that the following works without problem (no error message printed):
So it seems this is a bug with the recursion depth RuntimeError . . .
UPDATE: Based on the discussion, I've filed a ticked for this: #10774
Asked: Feb 11 '11
Seen: 202 times
Last updated: Feb 12 '11
powered by ASKBOT version 0.7.22
Copyright Sage, 2010. Some rights reserved under creative commons license.