File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -141,6 +141,7 @@ from sage.structure.sage_object cimport SageObject
141
141
from sage.structure.element cimport Element, parent, Expression
142
142
from sage.misc.lazy_attribute import lazy_attribute
143
143
144
+ from sage.structure.parent cimport Parent
144
145
from sage.structure.coerce cimport (coercion_model,
145
146
py_scalar_to_element, is_numpy_type, is_mpmath_type)
146
147
from sage.structure.richcmp cimport richcmp
@@ -1054,6 +1055,7 @@ cdef class BuiltinFunction(Function):
1054
1055
res = super ().__call__(
1055
1056
* args, coerce = coerce , hold = hold)
1056
1057
1058
+ cdef Parent arg_parent
1057
1059
if any (isinstance (x, Element) for x in args):
1058
1060
if (self ._preserved_arg
1059
1061
and isinstance (args[self ._preserved_arg- 1 ], Element)):
You can’t perform that action at this time.
0 commit comments