Fix 2's complement

This commit is contained in:
Leo Alt
2021-05-26 22:12:49 +02:00
parent 95f973e08a
commit 5c3b5f86f3
+1 -1
View File
@@ -175,7 +175,7 @@ string SMTLib2Interface::toSExpr(Expression const& _expr)
sexpr += string("ite ") +
"(= ((_ extract " + pos + " " + pos + ")" + arg + ") #b0) " +
nat + " " +
"(- (bvneg " + arg + "))";
"(- (bv2nat (bvneg " + arg + ")))";
}
else if (_expr.name == "const_array")
{