Open GoogleCodeExporter opened 9 years ago
Yes, it's sympy version issue, but also fragile code. It uses sympy.solve(),
which
seems to return the roots of a quadratic equation in an order which depends on
version.
We should really just use a pre-generated table of all the expressions - I used
this
approach as 1. I was lazy, so typing just one third of the relations seemed
like a
clever idea, 2. the tables I found on the net were incomplete.
Original comment by robert.c...@gmail.com
on 26 Apr 2010 at 6:51
It should be fixed now at the github repo. Let me know if it's ok.
r.
Original comment by robert.c...@gmail.com
on 26 Apr 2010 at 12:44
It works for me. I see the problem now in using sympy, that it can return
different
roots depending on the equation. Otherwise, I think it was a great idea!
Logan
Original comment by logan.so...@gmail.com
on 26 Apr 2010 at 2:35
Closing since correct relationships are now in sfepy/mechanics/matcoefs.py.
Original comment by logan.so...@gmail.com
on 26 Apr 2010 at 2:54
Migrated to http://github.com/sfepy/sfepy/issues/125
Original comment by robert.c...@gmail.com
on 30 Jan 2012 at 10:26
Original issue reported on code.google.com by
logan.so...@gmail.com
on 23 Apr 2010 at 6:54