on which version you are checking this ?? i am using 0.7.1 version
and it says "   'Pow' object has no attribute 'equals' " .Same error for
S.One

On Fri, Dec 23, 2011 at 7:06 PM, Chris Smith <[email protected]> wrote:

> k=S.One
>> r=Pow(1,2,evaluate=False)
>> print (k==r)  #prints True
>> print (r==k)   #prints False
>>
>>
>>
> Until this is fixed, try
>
> >>> S.One.equals(Pow(1,2,evaluate=False))
> True
> >>> Pow(1,2,evaluate=False).equals(S.One)
> True
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" 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?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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?hl=en.

Reply via email to