Comment #10 on issue 1274 by ondrej.certik: trigsimp doesn't like decimals
http://code.google.com/p/sympy/issues/detail?id=1274

Ah, I got it. But this returns an exception to me:

In [3]: trigsimp(cos(x)**2.0000 + sin(x)**2.0000)
[...]
/home/ondrej/repos/sympy/sympy/core/numbers.pyc in __eq__(self, other)
     368             if other.is_irrational: return False
     369             return other.__eq__(self)
--> 370         if other.is_comparable: other = other.evalf()
     371         if isinstance(other, Number):
     372             return bool(mlib.mpf_eq(self._mpf_,  
other._as_mpf_val(self._prec)))

TypeError: unbound method Basic_evalf() must be called with cos instance as  
first
argument (got nothing instead)


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

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

Reply via email to