Status: Accepted
Owner: [email protected]
Labels: Type-Defect Priority-Medium NeedsReview smichr
New issue 2668 by [email protected]: when solving a poly system, gens should
be passed on
http://code.google.com/p/sympy/issues/detail?id=2668
The generators/symbols were not being passed onto solve_poly_system so this
caused a system like the following to fail:
solve([x**2+y+4],[x])
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sympy\solvers\solvers.py", line 492, in solve
solution = _solve(f, *symbols, **flags)
File "sympy\solvers\solvers.py", line 841, in _solve
result = solve_poly_system(polys)
File "sympy\solvers\polysys.py", line 45, in solve_poly_system
return solve_generic(polys, opt)
File "sympy\solvers\polysys.py", line 179, in solve_generic
result = solve_reduced_system(polys, opt.gens, entry=True)
File "sympy\solvers\polysys.py", line 149, in solve_reduced_system
raise NotImplementedError("only zero-dimensional systems supported
(finite n
umber of solutions)")
NotImplementedError: only zero-dimensional systems supported (finite number
of solutions)
This now works.
--
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.