From 2c4db309a23c918bedd00d5604afc26b3703c5b0 Mon Sep 17 00:00:00 2001 From: Winfried Bruns Date: Wed, 24 Aug 2022 19:09:54 +0200 Subject: [PATCH] ask for ENFNORMALIZ --- NormalizModule.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/NormalizModule.cpp b/NormalizModule.cpp index b4b5fc3..e71361c 100644 --- a/NormalizModule.cpp +++ b/NormalizModule.cpp @@ -2196,9 +2196,11 @@ static PyObject* NmzSetPolynomialEquations(PyObject* self, PyObject* args) cone_ptr->setPolynomialEquations(PolyEquations); Py_RETURN_TRUE; } +#ifdef ENFNORMALIZ Cone* cone_ptr = get_cone_renf(cone); cone_ptr->setPolynomialEquations(PolyEquations); Py_RETURN_TRUE; +#endif FUNC_END } @@ -2246,10 +2248,12 @@ static PyObject* NmzSetPolynomialInequalities(PyObject* self, PyObject* args) cone_ptr->setPolynomialInequalities(PolyInequalities); Py_RETURN_TRUE; } +#ifdef ENFNORMALIZ Cone* cone_ptr = get_cone_renf(cone); cone_ptr->setPolynomialInequalities(PolyInequalities); Py_RETURN_TRUE; - +#endif + FUNC_END }