Added missing parentheses in PDDL output.

This commit is contained in:
Patrick Lühne 2017-06-24 16:33:28 +02:00
parent 7ae2734e9f
commit 9845c5ae9e
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -226,7 +226,9 @@ inline colorlog::ColorStream &print(colorlog::ColorStream &stream, const Quantif
printContext.indentationLevel++; printContext.indentationLevel++;
pddl::detail::printIndentedNewline(stream, printContext); pddl::detail::printIndentedNewline(stream, printContext);
stream << "(";
print(stream, quantified.parameters, printContext); print(stream, quantified.parameters, printContext);
stream << ")";
pddl::detail::printIndentedNewline(stream, printContext); pddl::detail::printIndentedNewline(stream, printContext);
print(stream, quantified.argument, printContext); print(stream, quantified.argument, printContext);