Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit a5496db

Browse files
committedJun 28, 2014
fixed incorrect doctest format
1 parent ae51d00 commit a5496db

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/sage/rings/polynomial/polynomial_element.pyx

+4-4
Original file line numberDiff line numberDiff line change
@@ -6034,10 +6034,10 @@ cdef class Polynomial(CommutativeAlgebraElement):
60346034
NotImplementedError: Univariate Polynomial Ring in x over Rational Field does not provide an xgcd implementation for univariate polynomials
60356035
sage: T.<x,y> = QQ[]
60366036
sage: def poor_xgcd(f,g):
6037-
... ret = S(T(f).gcd(g))
6038-
... if ret == f: return ret,S.one(),S.zero()
6039-
... if ret == g: return ret,S.zero(),S.one()
6040-
... raise NotImplementedError
6037+
....: ret = S(T(f).gcd(g))
6038+
....: if ret == f: return ret,S.one(),S.zero()
6039+
....: if ret == g: return ret,S.zero(),S.one()
6040+
....: raise NotImplementedError
60416041
sage: R._xgcd_univariate_polynomial = poor_xgcd
60426042
sage: h1.xgcd(h2)
60436043
(x*y, 1, 0)

0 commit comments

Comments
 (0)
This repository has been archived.