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

Commit

Permalink
do not use SAGE_TMP
Browse files Browse the repository at this point in the history
  • Loading branch information
dimpase committed Jun 13, 2022
1 parent c7ff254 commit 78f029b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/rings/polynomial/msolve.py
Expand Up @@ -25,7 +25,6 @@
import sage.structure.proof.proof

from sage.features.msolve import msolve
from sage.misc.all import SAGE_TMP
from sage.misc.converting_dict import KeyConvertingDict
from sage.misc.sage_eval import sage_eval
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
Expand Down Expand Up @@ -136,7 +135,7 @@ def _variety(ideal, ring, proof):

drlpolring = ideal.ring().change_ring(order='degrevlex')
polys = ideal.change_ring(drlpolring).gens()
msolve_in = tempfile.NamedTemporaryFile(dir=SAGE_TMP, mode='w',
msolve_in = tempfile.NamedTemporaryFile(mode='w',
encoding='ascii', delete=False)
command = ["msolve", "-f", msolve_in.name]
if isinstance(ring, (RealIntervalField_class, RealBallField,
Expand Down

0 comments on commit 78f029b

Please sign in to comment.