We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aaedb6c + 971a253 commit 34b7921Copy full SHA for 34b7921
1 file changed
src/trans-netlist/aig.h
@@ -78,6 +78,8 @@ class aigt {
78
}
79
80
literalt new_and_node(literalt a, literalt b) {
81
+ PRECONDITION(a.var_no() < number_of_nodes());
82
+ PRECONDITION(b.var_no() < number_of_nodes());
83
nodes.emplace_back(a, b);
84
return {narrow_cast<literalt::var_not>(nodes.size() - 1), false};
85
0 commit comments