Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Solvers
New issue 3309 by [email protected]: nsolve fails for Integral,
Piecewise
http://code.google.com/p/sympy/issues/detail?id=3309
nsolve(Integral(x*y,(x,0,5)),y,2)
ValueError: expected a one-dimensional and numerical function
nsolve(Piecewise((x,x<1),(x**2,True)),x,2)
ValueError: expected a one-dimensional and numerical function
The problem seems to be that nsolve uses f.atoms(Symbol) instead of
f.free_symbols for determining the number of free variables.
This is related to Issue 2427
--
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.