Improve hash functions in linexprs
[linpy.git] / pypol / _islhelper.c
index f8c03e3..bc62968 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);
     n = isl_basic_set_n_constraint(bset);
     if (n == -1) {
         PyErr_SetString(PyExc_RuntimeError,