From 89a772a680e7466dc6c9849134093d56caf5f59f Mon Sep 17 00:00:00 2001 From: John Cremona Date: Mon, 2 Aug 2010 02:22:33 +0100 Subject: [PATCH] #9659 - doctest fix --- src/sage/schemes/elliptic_curves/ell_number_field.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sage/schemes/elliptic_curves/ell_number_field.py b/src/sage/schemes/elliptic_curves/ell_number_field.py index bcad1db57f4..3e67e17a9e0 100644 --- a/src/sage/schemes/elliptic_curves/ell_number_field.py +++ b/src/sage/schemes/elliptic_curves/ell_number_field.py @@ -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 ::