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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.