Skip to content

Commit 9b2aa1e

Browse files
author
Xavier Caruso
committed
call super()
1 parent bd16902 commit 9b2aa1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sage/modules/free_module_pseudomorphism.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
# http://www.gnu.org/licenses/
2222
# ****************************************************************************
2323

24-
from sage.categories.map import FormalCompositeMap
2524
from sage.categories.morphism import Morphism
2625
from sage.structure.richcmp import richcmp
2726
from sage.modules.free_module_morphism import FreeModuleMorphism
@@ -583,7 +582,7 @@ def _composition_(self, right, homset):
583582
if self.side() == 'right' and right.side() == 'right':
584583
f._side = "right"
585584
return f
586-
return FormalCompositeMap(homset, right, self)
585+
return super()._composition_(right, homset)
587586

588587
def ore_module(self, names=None):
589588
r"""

0 commit comments

Comments
 (0)