Skip to content

Commit bd16902

Browse files
author
Xavier Caruso
committed
map_coefficients -> apply_map (much faster)
1 parent ec65a08 commit bd16902

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sage/modules/free_module_pseudomorphism.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ def _composition_(self, right, homset):
577577
morphism = self._morphism
578578
else:
579579
morphism = self._morphism * right._morphism
580-
mat = right._matrix.map_coefficients(self._morphism) * self._matrix
580+
mat = right._matrix.apply_map(self._morphism) * self._matrix
581581
parent = right.domain().pseudoHom(morphism, codomain=self.codomain())
582582
f = FreeModulePseudoMorphism(parent, mat, "left")
583583
if self.side() == 'right' and right.side() == 'right':

0 commit comments

Comments
 (0)