Skip to content

Commit 6ba1084

Browse files
committed
Use fuzzy zero in doctest
1 parent 7f71494 commit 6ba1084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/symbolic/expression.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12872,7 +12872,7 @@ cdef class Expression(Expression_abc):
1287212872
sage: x = var('x', domain='real')
1287312873
sage: s = abs((1+I*x)^4)
1287412874
sage: f = s._plot_fast_callable(x)
12875-
sage: f(10) == abs((I*10+1)^4)
12875+
sage: abs(f(10) - abs((I*10+1)^4)) < 1e-11
1287612876
True
1287712877
sage: plot(s)
1287812878
Graphics object consisting of 1 graphics primitive

0 commit comments

Comments
 (0)