@property
def _as_parameter_(self):
return self._ic
-
+
+ #comment out so does not delete itself after being created
#def __del__(self):
- # libisl.isl_ctx_free(self)
+ # libisl.isl_ctx_free(self)
def __eq__(self, other):
if not isinstance(other, Context):
numerator = libisl.isl_val_read_from_str(context, numerator)
denominator = str(frac.denominator).encode()
denominator = libisl.isl_val_read_from_str(context, denominator)
- self._iv = libisl.isl_val_div(numerator, denominator)
- print('in isl')
+ self._iv = libisl.isl_val_div(numerator, denominator)
return self
return bool(libisl.isl_val_is_infty(self) or
libisl.isl_val_is_neginfty(self))
- def is_nan(self):
+ def is_nan(self):
return bool(libisl.isl_val_is_nan(self))
def __str__(self):