Problem with modifying test classes

15 views
Skip to first unread message

Panchendrarajan Ruba

unread,
Mar 21, 2014, 12:33:48 PM3/21/14
to sy...@googlegroups.com
Currently I am working to fix the problem in my implementation.

Here I am returning a string which represent the way of finding the determinant of an nxn matrix. result is an str type. This the the line that raising an error while running the test classes,
 if strict:
        raise SympifyError(a)
How can I solve this????

Aaron Meurer

unread,
Mar 22, 2014, 11:57:55 PM3/22/14
to sy...@googlegroups.com
Don't use strings to do symbolic manipulation. Just create SymPy
objects and manipulate them directly. Not all SymPy functions work
with strings, which is the source of the error you are getting.

Aaron Meurer
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sympy+un...@googlegroups.com.
> To post to this group, send email to sy...@googlegroups.com.
> Visit this group at http://groups.google.com/group/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/48d9abd2-3d54-420d-9c5a-f5bc257e6a7e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages