# HG changeset patch
# Parent 74c5beb6e8262be1a099c9cde142aaf43906472b
diff --git a/sage/rings/polynomial/multi_polynomial_libsingular.pyx b/sage/rings/polynomial/multi_polynomial_libsingular.pyx
|
a
|
b
|
|
| 188 | 188 | from sage.rings.polynomial.multi_polynomial_ideal import MPolynomialIdeal |
| 189 | 189 | from sage.rings.polynomial.polydict import ETuple |
| 190 | 190 | |
| | 191 | # non-commutative imports |
| | 192 | from sage.rings.polynomial.plural import NCPolynomial_plural |
| | 193 | |
| 191 | 194 | # base ring imports |
| 192 | 195 | from sage.rings.finite_rings.finite_field_prime_modn import FiniteField_prime_modn |
| 193 | 196 | from sage.rings.rational cimport Rational |
| … |
… |
|
| 2075 | 2078 | 9/4*x - 3/4*y - 3/2 |
| 2076 | 2079 | """ |
| 2077 | 2080 | # all currently implemented baser rings are commutative |
| 2078 | | return right._rmul_(self) |
| | 2081 | if PY_TYPE_CHECK(right, MPolynomial_libsingular) or PY_TYPE_CHECK(right, NCPolynomial_plural): |
| | 2082 | return right._rmul_(self) |
| | 2083 | return self._rmul_(right) |
| 2079 | 2084 | |
| 2080 | 2085 | cpdef RingElement _mul_(left, RingElement right): |
| 2081 | 2086 | """ |