Skip to content

Commit 871c551

Browse files
Correct type of bdd_cuddt::indext
This was causing errors when compiling with clang -Werror -Wsign-conversion
1 parent d91b397 commit 871c551

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
@@ -36,7 +36,7 @@ class bdd_nodet
3636
}
3737

3838
/// Type of indexes of Boolean variables
39-
using indext = int;
39+
using indext = unsigned int;
4040

4141
/// Label on the node, corresponds to the index of a Boolean variable
4242
indext index() const

0 commit comments

Comments
 (0)