diff options
author | Antonio Rojas | 2018-06-29 16:34:10 +0000 |
---|---|---|
committer | Antonio Rojas | 2018-06-29 16:34:10 +0000 |
commit | 2c5d3aed39712565832fce8327b5935898be4369 (patch) | |
tree | 76d83b3ed3f5ad3d2c68b1d1fa97f7c626d6adde /sagemath-singular-4.1.1.patch | |
parent | 1d5a2e10ebe0cfaa1115e283ed1cc673c2ce863d (diff) | |
download | aur-2c5d3aed39712565832fce8327b5935898be4369.tar.gz |
Sync Singular patch with stable
Diffstat (limited to 'sagemath-singular-4.1.1.patch')
-rw-r--r-- | sagemath-singular-4.1.1.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sagemath-singular-4.1.1.patch b/sagemath-singular-4.1.1.patch index 5e5d3ba38d2a..6471d2499acd 100644 --- a/sagemath-singular-4.1.1.patch +++ b/sagemath-singular-4.1.1.patch @@ -92,3 +92,17 @@ index 3b45a38419..c0227fd364 100644 #p_SetCoeff(flt, n_Div( p_GetCoeff(f._poly, r) , p_GetCoeff((<NCPolynomial_plural>g)._poly, r), r), r) p_SetCoeff(flt, n_Init(1, r), r) return new_NCP(self,flt), g +diff --git a/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx b/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx +index 809ca72c76..9610ce125d 100644 +--- a/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx ++++ b/src/sage/rings/polynomial/multi_polynomial_libsingular.pyx +@@ -4888,7 +4888,7 @@ cdef class MPolynomial_libsingular(MPolynomial): + if right.is_zero(): + raise ZeroDivisionError + +- if not self._parent._base.is_field() and not is_IntegerRing(self._parent._base): ++ if not self._parent._base.is_field(): + py_quo = self//right + py_rem = self - right*py_quo + return py_quo, py_rem + |