You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
re_im-nint, 10, options) # don't need much precision
assertnotiim
size=-fastlog(ire) +2# -ve b/c ire is less than 1
ifsize>prec:
ire, iim, ire_acc, iim_acc=evalf(
re_im, size, options)
The reim variable is re(log(test)/log(2)) which is zero (if test=1). Then fastlog returns -oo which then give size=oo which is used as the prec argument in the recursive call to evalf. Perhaps size should be bounded at maxprec here.
It seems that the internal evalf is expected to return None instead of fzero. In this case, evalf_mul should have checked the result of log(1)*log(2)**-1.
Using sympy 1.4. Using a variable seems to be required to reproduce this.
The text was updated successfully, but these errors were encountered: