You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sage: coercion_model.canonical_coercion(RBF(0), -1.0)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-3-bf5b7fb19950> in <module>()
----> 1 coercion_model.canonical_coercion(RBF(Integer(0)), -RealNumber('1.0'))
/usr/local/src/sage-config/src/sage/structure/coerce.pyx in sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion (build/cythonized/sage/structure/coerce.c:12993)()
1133 raise bin_op_exception(op, x, y)
1134
-> 1135 cpdef canonical_coercion(self, x, y):
1136 r"""
1137 Given two elements x and y, with parents S and R respectively,
/usr/local/src/sage-config/src/sage/structure/coerce.pyx in sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion (build/cythonized/sage/structure/coerce.c:12888)()
1276 self._record_exception()
1277
-> 1278 raise TypeError("no common canonical parent for objects with parents: '%s' and '%s'"%(xp, yp))
1279
1280
TypeError: no common canonical parent for objects with parents: 'Real ball field with 53 bits of precision' and 'Real Field with 53 bits of precision'
CC: @mezzarobba @jdemeyer @cheuberg
Component: basic arithmetic
Issue created by migration from https://trac.sagemath.org/ticket/24410
The text was updated successfully, but these errors were encountered: