Check for SymPy presence in unittary tests
[linpy.git] / pypol / isl.py
index a295e9f..0b9a485 100644 (file)
@@ -12,7 +12,7 @@ __all__ = [
 libisl = ctypes.CDLL(ctypes.util.find_library('isl'))
 
 libisl.isl_printer_get_str.restype = ctypes.c_char_p
-libisl.isl_dim_set = _isl.isl_dim_set
+libisl.isl_dim_set = _isl.dim_set
 
 
 class IslObject:
@@ -59,4 +59,4 @@ class BasicSet(IslObject):
         libisl.isl_basic_set_free(self)
 
     def constraints(self):
-        return _isl.isl_basic_set_constraints(self._ptr)
+        return _isl.basic_set_constraints(self._ptr)