refine the category of Gaussian integers #16322
Annotations
3 errors and 10 warnings
Test all files (sage -t --long src/sage/[p-z]*):
src/sage/rings/polynomial/multi_polynomial.pyx#L2118
Failed example:: Got:
Traceback (most recent call last):
File "/sage/src/sage/doctest/forker.py", line 715, in _run
self.compile_and_execute(example, compiler, test.globs)
File "/sage/src/sage/doctest/forker.py", line 1136, in compile_and_execute
exec(compiled, globs)
File "<doctest sage.rings.polynomial.multi_polynomial.MPolynomial.gcd[14]>", line 1, in <module>
x.gcd(x)
File "sage/rings/polynomial/multi_polynomial.pyx", line 2161, in sage.rings.polynomial.multi_polynomial.MPolynomial.gcd
return self.parent()(doit(uniself, other.polynomial(x)))
File "/sage/src/sage/categories/unique_factorization_domains.py", line 189, in _gcd_univariate_polynomial
d = a.gcd(b)
File "sage/structure/element.pyx", line 4742, in sage.structure.element.coerce_binop.new_method
return method(self, other, *args, **kwargs)
File "sage/rings/polynomial/polynomial_element.pyx", line 5472, in sage.rings.polynomial.polynomial_element.Polynomial.gcd
return doit(self, other)
File "/sage/src/sage/categories/unique_factorization_domains.py", line 195, in _gcd_univariate_polynomial
_,R = A.pseudo_quo_rem(B)
File "sage/rings/polynomial/polynomial_element.pyx", line 5372, in sage.rings.polynomial.polynomial_element.Polynomial.pseudo_quo_rem
Q = d*Q + self._parent(c).shift(diffdeg)
File "sage/structure/element.pyx", line 1507, in sage.structure.element.Element.__mul__
return coercion_model.bin_op(left, right, mul)
File "sage/structure/coerce.pyx", line 1282, in sage.structure.coerce.CoercionModel.bin_op
raise bin_op_exception(op, x, y)
TypeError: unsupported operand parent(s) for *: 'Number Field in I with defining polynomial x^2 + 1 with I = 1*I' and 'Univariate Polynomial Ring in x over Gaussian Integers generated by I in Number Field in I with defining polynomial x^2 + 1 with I = 1*I'
|
Test all files (sage -t --long src/sage/[p-z]*):
src/sage/rings/polynomial/polynomial_element.pyx#L2536
/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/cysignals/signals.cpython-310-x86_64-linux-gnu.so(+0x93d4)[0x7fb42384a3d4]
/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/cysignals/signals.cpython-310-x86_64-linux-gnu.so(+0x9496)[0x7fb42384a496]
/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/cysignals/signals.cpython-310-x86_64-linux-gnu.so(+0xc881)[0x7fb42384d881]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fb424dca520]
/lib/x86_64-linux-gnu/libc.so.6(+0x91117)[0x7fb424e19117]
/lib/x86_64-linux-gnu/libc.so.6(+0x9cc78)[0x7fb424e24c78]
python3(PyThread_acquire_lock_timed+0xa0)[0x55ab036f6d70]
python3(+0x173ce4)[0x55ab0374fce4]
python3(+0x15e2e9)[0x55ab0373a2e9]
python3(_PyEval_EvalFrameDefault+0x8ab)[0x55ab03721abb]
python3(+0x16b4e1)[0x55ab037474e1]
python3(+0x15c844)[0x55ab03738844]
python3(PyObject_CallFunctionObjArgs+0xa3)[0x55ab037386c3]
/sage/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/coverage/tracer.cpython-310-x86_64-linux-gnu.so(+0x332e)[0x7fb424ab332e]
python3(+0x20d757)[0x55ab037e9757]
python3(_PyEval_EvalFrameDefault+0x7413)[0x55ab03728623]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(_PyObject_FastCallDictTstate+0x16d)[0x55ab0372e51d]
python3(_PyObject_Call_Prepend+0x5c)[0x55ab037442bc]
python3(+0x2826d0)[0x55ab0385e6d0]
python3(_PyObject_MakeTpCall+0x25b)[0x55ab0372f2db]
python3(_PyEval_EvalFrameDefault+0x7df6)[0x55ab03729006]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(PyObject_Call+0x122)[0x55ab03747f22]
python3(_PyEval_EvalFrameDefault+0x285e)[0x55ab03723a6e]
python3(+0x16b281)[0x55ab03747281]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x7df6)[0x55ab03729006]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyObject_FastCallDictTstate+0xc4)[0x55ab0372e474]
python3(+0x1674b4)[0x55ab037434b4]
python3(_PyObject_MakeTpCall+0x1fc)[0x55ab0372f27c]
python3(_PyEval_EvalFrameDefault+0x6fad)[0x55ab037281bd]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x7573)[0x55ab03728783]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x7573)[0x55ab03728783]
python3(+0x16b281)[0x55ab03747281]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x7573)[0x55ab03728783]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x55ab037284c0]
python3(_PyFunction_Vectorcall+0x7c)[0x55ab0373942c]
python3(+0x206bf2)[0x55ab037e2bf2]
python3(_PyEval_EvalFrameDefault+0x72b0)[0x5
|
Test all files (sage -t --long src/sage/[p-z]*)
Process completed with exit code 5.
|
|
|
|
|
|
|
|
|
|
|
Loading