Skip to content

Commit

Permalink
Use fuzzy zero in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed Jul 31, 2022
1 parent 7f71494 commit 6ba1084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/symbolic/expression.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -12872,7 +12872,7 @@ cdef class Expression(Expression_abc):
sage: x = var('x', domain='real')
sage: s = abs((1+I*x)^4)
sage: f = s._plot_fast_callable(x)
sage: f(10) == abs((I*10+1)^4)
sage: abs(f(10) - abs((I*10+1)^4)) < 1e-11
True
sage: plot(s)
Graphics object consisting of 1 graphics primitive
Expand Down

0 comments on commit 6ba1084

Please sign in to comment.