summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen Demeyer <jdemeyer@cage.ugent.be>2017-04-28 20:05:24 +0200
committerJeroen Demeyer <jdemeyer@cage.ugent.be>2017-04-28 20:50:19 +0200
commita57b913ea88ec3c4060482e3bd2798f49d24fca1 (patch)
tree31fbb5e7fe4bea6485c3de4376ea3ef592d03039
parentUpdated SageMath version to 8.0.beta4 (diff)
QuotientRing_nc.ideal(): use super() instead of CommutativeRingu/jdemeyer/quotientring_nc_ideal___should_not_call_commutativering_ideal
-rw-r--r--src/sage/rings/quotient_ring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sage/rings/quotient_ring.py b/src/sage/rings/quotient_ring.py
index d78fb70..12b435a 100644
--- a/src/sage/rings/quotient_ring.py
+++ b/src/sage/rings/quotient_ring.py
@@ -935,7 +935,7 @@ class QuotientRing_nc(ring.Ring, sage.structure.parent_gens.ParentWithGens):
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