Am 06.06.2015 um 20:37 schrieb Robert Pollak:
as a SymPy newbie, do I do something wrong here?
In [1]: solve([x**2 * y**2 <= x**2 * y, x**2 * y**2 > x**2 * y])
I can't see anything wrong with that.
I'm not sure what that "unexpected error" thing is and why there's any
tokenization anywhere. I'm getting this in current master:
>>> solve([x**2 * y**2 <= x**2 * y, x**2 * y**2 > x**2 * y])
Traceback (most recent call last):
File "<console>", line 1, in <module>
File
"/home/jo/Projekte/sympy-workspace/sympy-project/sympy/sympy/solvers/solvers.py",
line 813, in solve
return reduce_inequalities(f, symbols=symbols)
File
"/home/jo/Projekte/sympy-workspace/sympy-project/sympy/sympy/solvers/inequalities.py",
line 589, in reduce_inequalities
rv = _reduce_inequalities(inequalities, symbols)
File
"/home/jo/Projekte/sympy-workspace/sympy-project/sympy/sympy/solvers/inequalities.py",
line 514, in _reduce_inequalities
symbol of interest'''))
NotImplementedError:
inequality has more than one symbol of interest
This seems to be (not) working as expected I'd say, SymPy is telling us
that inequalities on more than one variable are not implemented currently.
--
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/55793078.7040502%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.