Status: Valid
Owner: ----
Labels: Type-Defect Priority-Medium Series WrongResult

New issue 3912 by [email protected]: Order terms don't cancel correctly
http://code.google.com/p/sympy/issues/detail?id=3912

In [10]: O(x) - O(x)
Out[10]: O(x)

In [11]: O(1/x) - O(1/x)
Out[11]:
 ⎛1⎞
O⎜─⎟
 ⎝x⎠

In [12]: O(1/x) + O(1)
Out[12]:
 ⎛1⎞
O⎜─⎟
 ⎝x⎠

In [13]: O(x) + O(1)
Out[13]: O(1)

If I have my math correctly, the O(1/x) - O(1/x) one should give O(1), since things could cancel. If I have it backwards, it's the other one.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to