Comment #58 on issue 1694 by nicolas.pourcelot: solve has many issues with
fractions
http://code.google.com/p/sympy/issues/detail?id=1694
@smirch
"As per comment 8, checking if "0 in result" might fail. Perhaps a comment
could be put there to the effect, "simplification of results might be
necessary to find out if a 0 is present or not" would be good. I have a
equal() function that is part of work waiting to be reviewed that would
(hopefully) robustly tell if there is a 0 present or not. I might rework it
to look more like your checksol, however."
I understand what you mean. However, in practice, I can't figure how solve
could return an unsimplified zero as a root from a polynomial expression ;
but perhaps I'm mistaken.
@asmeurer
Aaron, thanks for the tip. I've already rewritten last changes, but it may
be useful next time.
By the way, Chris suggested in comment 46 to do some numerical testing, in
checksol(), which may drastically improve performance in some complicated
cases.
I'm not sure it's consistent with symbolic calculus however ; what's your
opinion on this ?
--
You received this message because you are subscribed to the Google Groups
"sympy-issues" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sympy-issues?hl=en.