Disallow unknown operators.

This commit is contained in:
chriseth 2022-05-10 08:44:55 +02:00
parent 6bd09ba9d5
commit f940e1f9e7

View File

@ -202,7 +202,10 @@ void BooleanLPSolver::addAssertion(Expression const& _expr)
else if (_expr.name == ">")
addAssertion(_expr.arguments.at(1) < _expr.arguments.at(0));
else
{
cout << "Unknown operator " << _expr.name << endl;
solAssert(false);
}
}