Strange AttributeError

asked 2013-09-01 07:21:20 +0200

petropolis gravatar image

updated 2023-01-10 02:16:39 +0200

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'

?

edit retag flag offensive close merge delete

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 ( 2013-09-01 16:49:36 +0200 )edit

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 ( 2023-01-10 02:16:25 +0200 )edit