]> CRI, Mines Paris - PSL - linpy.git/blobdiff - pypol/_islhelper.c
Update drop_dims, now works with more than 2 dims passed
[linpy.git] / pypol / _islhelper.c
index f8c03e367c5bcc5fec41a7fbdf13031d078d0d26..eaacc67aa501647dc3c073adbb79157155c5ad28 100644 (file)
@@ -36,6 +36,7 @@ static PyObject * isl_basic_set_constraints(PyObject *self, PyObject* args) {
         return NULL;
     }
     bset = (isl_basic_set *) ptr;
+    bset = isl_basic_set_finalize(bset); // this instruction should not be required
     n = isl_basic_set_n_constraint(bset);
     if (n == -1) {
         PyErr_SetString(PyExc_RuntimeError,