On Sun, May 13, 2012 at 9:57 PM, phneoix <neo.stea...@gmail.com> wrote: > how do i raise an exception if certain equation is unsolvable (maybe due to > lack of sufficient data).... >
I think it already raises an error in such cases. Can you give a specific example? Otherwise, you can raise an error. Something like raise ValueError('that was a bad value: %s' % the_val) -- You received this message because you are subscribed to the Google Groups "sympy" group. To post to this group, send email to sympy@googlegroups.com. To unsubscribe from this group, send email to sympy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sympy?hl=en.