Strange AttributeError

asked 11 years ago

petropolis gravatar image

updated 2 years ago

tmonteil gravatar image

In:

bool(-1/2*csc(3/8*pi + x)^2/cot(3/8*pi + x) + 1/cos(1/4*pi + 2*x) == 0)

Out:

AttributeError: 'sage.rings.complex_interval.ComplexIntervalFieldElement' object has no attribute 'sin'

?

Preview: (hide)

Comments

2

Thanks for reporting! This is a bug. Interestingly, this unrelated patch fixes the issue: http://trac.sagemath.org/ticket/15071

Eviatar Bach gravatar imageEviatar Bach ( 11 years ago )

Indeed:

sage: bool(-1/2*csc(3/8*pi + x)^2/cot(3/8*pi + x) + 1/cos(1/4*pi + 2*x) == 0)
False
tmonteil gravatar imagetmonteil ( 2 years ago )