Skip to content

Commit

Permalink
fix more imports
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed May 29, 2023
1 parent fbb8323 commit fa932e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sage/matrix/matrix_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
# Sage matrix imports see :trac:`34283`

# Sage imports
import sage.structure.coerce
import sage.structure.coerce_actions
from sage.structure.parent import Parent
from sage.structure.unique_representation import UniqueRepresentation
import sage.rings.integer as integer
Expand Down Expand Up @@ -1054,7 +1054,7 @@ def _get_action_(self, S, op, self_on_left):
return matrix_action.MatrixPolymapAction(self, S)
else:
# action of base ring
return sage.structure.coerce.RightModuleAction(S, self)
return sage.structure.coerce_actions.RightModuleAction(S, self)
else:
if is_MatrixSpace(S):
# matrix multiplications
Expand All @@ -1065,7 +1065,7 @@ def _get_action_(self, S, op, self_on_left):
return matrix_action.PolymapMatrixAction(self, S)
else:
# action of base ring
return sage.structure.coerce.LeftModuleAction(S, self)
return sage.structure.coerce_actions.LeftModuleAction(S, self)
except TypeError:
return None

Expand Down

0 comments on commit fa932e8

Please sign in to comment.