Am 28.03.2015 um 00:51 schrieb Aaron Meurer:
On Fri, Mar 27, 2015 at 5:26 PM, Joachim Durchholz <[email protected]> wrote:
The other approach would be to accept that some unit tests depend on sort
order in a superficial way, and to change the unit tests. (2)

Is the result deterministic?  And is it still mathematically correct?

Deterministic: yes.

Mathematically correct: Sort of, one Piecewise condition goes from Ne(1/s, 1) to Ne(s, 1). For SymPy, it is equivalent; for the human reader, it might be considered mathematically "almost equivalent" due to the singularity at s=0. With a mathematically incorrect result I'd assume a bug in the integration algorithm anyway.

Is there a third, better approach?

I indeed came up with third approach tonight: keep the existing sort order and remove the comment that it is outdated.
Not better, but correct enough to have a place on the list of options.

--
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 [email protected].
To post to this group, send email to [email protected].
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/551655B5.9050300%40durchholz.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to