Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3321 by [email protected]: solve_linear_system trouble with
floats
http://code.google.com/p/sympy/issues/detail?id=3321
I have a matrix like this
mat1=Matrix(((0,15.0,10.0,700.0),(1,1,1,100.0),(0,10.0,5.0,200.0),(-5.0,0,0,0)))
and a list of unknowns:
unknown=[a,b,c]
when I do this:
solve_linear_system(mat1,*unknown)
I get "None" as my answer
However if I take out any row for example (1,1,1,100.0), I would get the
correct answer
It will also work if I do:
mat1 = mat1.applyfunc(Integer)
Someone else pointed out that the problem seems to have something to do
with using floats.
--
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.