Skip to content

Commit 8205c13

Browse files
Correct argument type of cudd.bddVar
The type of cudd.bddVar differs from cuddNodeReadIndex, so we need a conversion between the two.
1 parent 871c551 commit 8205c13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/solvers/bdd/bdd_cudd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ class bdd_managert
152152

153153
bddt bdd_variable(bdd_nodet::indext index)
154154
{
155-
return bddt(cudd.bddVar(index));
155+
return bddt(cudd.bddVar(narrow_cast<int>(index)));
156156
}
157157

158158
bdd_nodet bdd_node(const bddt &bdd) const

0 commit comments

Comments
 (0)