diff --git a/test/test_issue35.py b/test/test_issue35.py index e10188c..4a43509 100644 --- a/test/test_issue35.py +++ b/test/test_issue35.py @@ -3,6 +3,5 @@ # this should not segfault def test_issue35(): - m = cdd.Matrix([[0, 0, 0]], number_type="float") - m.rep_type = cdd.RepType.INEQUALITY - m.canonicalize() + mat = cdd.matrix_from_array([[0, 0, 0]], rep_type=cdd.RepType.INEQUALITY) + cdd.matrix_canonicalize(mat)