Comment #3 on issue 2873 by [email protected]: in core/decorators.py
there is unneeded try, except block
http://code.google.com/p/sympy/issues/detail?id=2873
If we remove the try-except block, then the operations being done in
if-else block are identical, so I tried this in "fix1.patch" (attached),
but the tests fail especially for sympifying matrices.
I also tried the same by just removing the try-except block and keeping the
if-else block the same (see "fix2.patch" attached) but again, the tests
failed giving the same issue (i.e. sympifying matrices).
I haven't exactly figured out why this is happening, but my guess would be
the try-except block catches an exception in case of matrices.
Attachments:
fix1.patch 507 bytes
fix2.patch 443 bytes
--
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.