Skip to content

Commit

Permalink
#9659 - doctest fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnCremona committed Aug 2, 2010
1 parent 66d2d34 commit 89a772a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sage/schemes/elliptic_curves/ell_number_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,8 +441,10 @@ def regulator_of_points(self, points=[], precision=None):
sage: P = EK(-2, -1/2*t - 1/2)
sage: P.order()
+Infinity
sage: EK.regulator_of_points([P,T])
sage: EK.regulator_of_points([P,T]) # random very small output
-1.23259516440783e-32
sage: EK.regulator_of_points([P,T]).abs() < 1e-30
True
::
Expand Down

0 comments on commit 89a772a

Please sign in to comment.