Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
QuotientRing_nc.ideal(): use super() instead of CommutativeRing
Browse files Browse the repository at this point in the history
  • Loading branch information
jdemeyer committed Apr 28, 2017
1 parent 7177ef5 commit a57b913
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sage/rings/quotient_ring.py
Original file line number Diff line number Diff line change
Expand Up @@ -935,7 +935,7 @@ def ideal(self, *gens, **kwds):
if not isinstance(self.__R, MPolynomialRing_libsingular) and \
(not hasattr(self.__R, '_has_singular') or not self.__R._has_singular):
# pass through
return ring.CommutativeRing.ideal(self, gens, **kwds)
return super(QuotientRing_nc, self).ideal(gens, **kwds)
if is_SingularElement(gens):
gens = list(gens)
coerce = True
Expand Down

0 comments on commit a57b913

Please sign in to comment.