diff --git a/src/sage/modules/with_basis/representation.py b/src/sage/modules/with_basis/representation.py index 261d5379fef..e9199ffd01d 100644 --- a/src/sage/modules/with_basis/representation.py +++ b/src/sage/modules/with_basis/representation.py @@ -687,7 +687,7 @@ def subrepresentation(self, gens, check=True, already_echelonized=False, gens = [self.from_vector(v) for v in SM.rows()] # it might not be echelonized w.r.t. the module's basis ordering already_echelonized = False - return self.submodule(gens, *args, parent_class=Subrepresentation, check=check, + return self.submodule(gens, *args, submodule_class=Subrepresentation, check=check, already_echelonized=already_echelonized, **opts) def quotient_representation(self, subrepr, already_echelonized=False, **kwds):