Comment #6 on issue 3490 by [email protected]: stats.Normal not taking symbolic standard deviation (wants 'positive')
http://code.google.com/p/sympy/issues/detail?id=3490

I thought I wrote this here, but I guess I never clicked submit (or else I only wrote it in my head).

In general, it's better to let errors like this propagate through. If integrate() can't do it unless the expression is positive, then it the user will see that in the final result. If it can do it, then what we had was unnecessary preemptive type checking. The point is that unnecessary type checking leads to issues like this, and should therefore be avoided. The exception is a wrong type can give a wrong result (as opposed to an error or unevaluated form). In that case, no answer is always better than a wrong answer.

--
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.

Reply via email to