Removed workarounds thanks to a fix in clingo.

This commit is contained in:
2017-04-01 03:13:52 +02:00
parent 7753c22132
commit 5940fc4a3b
2 changed files with 2 additions and 8 deletions

View File

@@ -155,9 +155,7 @@ void simplify(ast::Exists &exists, ast::Formula &formula)
// If the argument now is a conjunction with just one element, directly replace the input formula with the argument
if (conjunction.arguments.size() == 1)
{
// TODO: remove workaround
auto tmp = std::move(conjunction.arguments.front());
formula = std::move(tmp);
formula = std::move(conjunction.arguments.front());
return;
}