It would be better to just use the assumptions system to check if they
are not real.

Aaron Meurer

On Tue, Mar 11, 2014 at 5:30 PM, Anurag Sharma <[email protected]> wrote:
> Hi
> This is regarding a TODO mentioned in risch.py in recognize_log_derivative
> https://github.com/sympy/sympy/blob/master/sympy/integrals/risch.py
>
> The hack that I thought :
> a = real_roots()
> b = all_roots()
> if a!=b return false.
>
> but when import all_roots
> it says cant be imported
>
> Following is the error message:
>
>     from sympy.integrals.risch import (gcdex_diophantine, frac_in,
> as_poly_1t,
>   File "sympy/integrals/risch.py", line 29, in <module>
>     from sympy.polys.polytools import all_roots
> ImportError: cannot import name all_roots
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/80782c80-d3f3-4544-876f-b1f24480b7e0%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6LS5R9FGBzdDoLDfTe9wmZv%2BGHvD-dpfrFBzvSpMcFtqA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to