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

Commit

Permalink
#34519 msolve._variety() -> msolve.variety()
Browse files Browse the repository at this point in the history
  • Loading branch information
mezzarobba committed Sep 16, 2022
1 parent d5565cf commit 7b09d5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/msolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
from sage.rings.real_mpfi import RealIntervalField_class, RealIntervalField


def _variety(ideal, ring, proof):
def variety(ideal, ring, *, proof=True):
r"""
Compute the variety of a zero-dimensional ideal using msolve.
Expand Down
2 changes: 1 addition & 1 deletion src/sage/rings/polynomial/multi_polynomial_ideal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2477,7 +2477,7 @@ def variety(self, ring=None, *, algorithm="triangular_decomposition", proof=True
return self._variety_triangular_decomposition(ring)
elif algorithm == "msolve":
from . import msolve
return msolve._variety(self, ring, proof)
return msolve.variety(self, ring, proof=proof)
else:
raise ValueError(f"unknown algorithm {algorithm!r}")

Expand Down

0 comments on commit 7b09d5d

Please sign in to comment.