[SMTChecker] Fix in abi handling - fixed missing type conversion

This commit is contained in:
Martin Blicha
2021-01-14 14:53:44 +01:00
parent 32a923c7ef
commit b4d2a71eec
+1 -1
View File
@@ -773,7 +773,7 @@ void SMTEncoder::visitABIFunction(FunctionCall const& _funCall)
optional<smtutil::Expression> arg;
if (inTypes.size() == 1)
arg = expr(*args.at(0));
arg = expr(*args.at(0), inTypes.at(0));
else
{
auto inputSort = dynamic_cast<smtutil::ArraySort&>(*symbFunction.sort).domain;