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

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vbraun committed May 12, 2014
1 parent eefea2d commit 6b7b32c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/sage/geometry/lattice_polytope.py
Expand Up @@ -2443,7 +2443,8 @@ def normal_form(self, algorithm="palp", permutation=False):
deprecation(15240, "normal_form() output will change, "
"please use normal_form_pc().column_matrix() instead "
"or consider using normal_form_pc() directly!")
return self.normal_form_pc().column_matrix()
return self.normal_form_pc(algorithm=algorithm,
permutation=permutation).column_matrix()

@cached_method
def normal_form_pc(self, algorithm="palp", permutation=False):
Expand Down
1 change: 0 additions & 1 deletion src/sage/rings/polynomial/laurent_polynomial.pxd
Expand Up @@ -12,7 +12,6 @@ cdef class LaurentPolynomial_univariate(LaurentPolynomial_generic):
cdef long __n

cdef class LaurentPolynomial_mpair(LaurentPolynomial_generic):
cdef LaurentPolynomial_mpair _normal_form
cdef ETuple _mon
cdef MPolynomial _poly
cdef PolyDict _prod
Expand Down
1 change: 0 additions & 1 deletion src/sage/rings/polynomial/laurent_polynomial.pyx
Expand Up @@ -1349,7 +1349,6 @@ cdef class LaurentPolynomial_mpair(LaurentPolynomial_generic):
else: # since x should coerce into parent, _mon should be (0,...,0)
self._mon = ETuple({}, int(parent.ngens()))
self._poly = parent.polynomial_ring()(x)
self._normal_form = None
CommutativeAlgebraElement.__init__(self, parent)

def __reduce__(self):
Expand Down

0 comments on commit 6b7b32c

Please sign in to comment.