details:   http://hg.sympy.org/sympy/rev/d972486455c2
changeset: 1807:d972486455c2
user:      Ondrej Certik <[EMAIL PROTECTED]>
date:      Fri Oct 17 15:48:22 2008 +0200
description:
Don't use trig expansion in Order.

Using expand(trig=True) is useless there and even seems to slows things down,
on my computer by 0.32s for all series/ tests.

diffs (12 lines):

diff -r b13aebd9dc64 -r d972486455c2 sympy/series/order.py
--- a/sympy/series/order.py     Fri Oct 17 15:48:22 2008 +0200
+++ b/sympy/series/order.py     Fri Oct 17 15:48:22 2008 +0200
@@ -82,7 +82,7 @@
 
     @cacheit
     def __new__(cls, expr, *symbols, **assumptions):
-        expr = sympify(expr).expand(trig=True)
+        expr = sympify(expr).expand()
         if expr is S.NaN:
             return S.NaN
 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sympy-commits" group.
To post to this group, send email to sympy-commits@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sympy-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to