Fix CHCSmtLib2Interface

This commit is contained in:
Leo Alt
2021-05-26 22:12:49 +02:00
parent a3634934d1
commit daea5f886d
6 changed files with 77 additions and 25 deletions
-1
View File
@@ -946,7 +946,6 @@ void CHC::resetSourceAnalysis()
if (!usesZ3)
{
auto smtlib2Interface = dynamic_cast<CHCSmtLib2Interface*>(m_interface.get());
smtlib2Interface->reset();
solAssert(smtlib2Interface, "");
m_context.setSolver(smtlib2Interface->smtlib2Interface());
}
+1 -1
View File
@@ -118,7 +118,7 @@ SortPointer smtSort(frontend::Type const& _type)
else
tupleName = arrayType->baseType()->toString(true);
tupleName += "[]";
tupleName += "_array";
}
else
tupleName = _type.toString(true);