Skip to content

Commit

Permalink
Add test case for issue #35.
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmtroffaes committed Jan 1, 2021
1 parent 89c40a7 commit 5cab420
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_issue35.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import cdd


# this should not segfault
def test_issue35():
m = cdd.Matrix([[0, 0, 0]], number_type="float")
m.rep_type = cdd.RepType.INEQUALITY
m.canonicalize()

0 comments on commit 5cab420

Please sign in to comment.