Comment #11 on issue 1772 by smichr: Integral(1,x).is_number fails http://code.google.com/p/sympy/issues/detail?id=1772
That's because I don't check to see if the integrand is zero. There is no point in allowing that to have cleared creation, is there? In any case, it is possible to have an integrand that, without simplification, is zero so to handle that perhaps a call to is_zero should be called to test the integrand: if True then the result is a number, if False then carry on with the routine as written, but if None then return None since it can't be decided.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to sympy-iss...@googlegroups.com. To unsubscribe from this group, send email to sympy-issues+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.