Skip to content

Commit cb4fa80

Browse files
author
Matthias Koeppe
committed
sage.schemes: Update # needs
1 parent bb22dbd commit cb4fa80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/rings/polynomial/polynomial_element.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4199,10 +4199,10 @@ cdef class Polynomial(CommutativePolynomial):
41994199
sage: R.<x> = CDF[]
42004200
sage: f = (x^2 + 2*R(I))^3
42014201
sage: F = f.factor() # optional - numpy
4202-
sage: F # abs tol 3e-5
4202+
sage: F # abs tol 3e-5 # optional - numpy
42034203
(x - 1.0000138879287663 + 1.0000013435286879*I) * (x - 0.9999942196864997 + 0.9999873009803959*I) * (x - 0.9999918923847313 + 1.0000113554909125*I)
42044204
* (x + 0.9999908759550227 - 1.0000069659624138*I) * (x + 0.9999985293216753 - 0.9999886153831807*I) * (x + 1.0000105947233 - 1.0000044186544053*I)
4205-
sage: [f(t[0][0]).abs() for t in F] # abs tol 1e-13
4205+
sage: [f(t[0][0]).abs() for t in F] # abs tol 1e-13 # optional - numpy
42064206
[1.979365054e-14, 1.97936298566e-14, 1.97936990747e-14,
42074207
3.6812407475e-14, 3.65211563729e-14, 3.65220890052e-14]
42084208

0 commit comments

Comments
 (0)