File tree Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Expand file tree Collapse file tree 1 file changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -1605,16 +1605,13 @@ cdef class ADD:
1605
1605
if level >= high.level:
1606
1606
raise ValueError (
1607
1607
level, high.level, ' high.level' )
1608
- r: DdRef
1609
1608
index = self ._index_of_var[var]
1610
- if high == self .zero:
1611
- r = low.node
1612
- else :
1613
- r = cuddUniqueInter(
1614
- self .manager, index,
1615
- high.node, low.node)
1616
- if r is NULL :
1617
- raise CouldNotCreateNode()
1609
+
1610
+ r = cuddUniqueInter(
1611
+ self .manager, index,
1612
+ high.node, low.node)
1613
+ if r is NULL :
1614
+ raise CouldNotCreateNode()
1618
1615
f = wrap(self , r)
1619
1616
if level > f.level:
1620
1617
raise AssertionError (
@@ -1636,8 +1633,6 @@ cdef class ADD:
1636
1633
raise AssertionError (' `low is NULL`' )
1637
1634
if high is NULL :
1638
1635
raise AssertionError (' `high is NULL`' )
1639
- if high == Cudd_ReadZero(self .manager):
1640
- return low
1641
1636
r = cuddUniqueInter(
1642
1637
self .manager, index, high, low)
1643
1638
if r is NULL :
You can’t perform that action at this time.
0 commit comments