Minor formatting in PDDL debug output.

This commit is contained in:
Patrick Lühne 2017-06-23 01:48:47 +02:00
parent 3d9bf2582f
commit c0b71290a4
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -149,13 +149,11 @@ inline colorlog::ColorStream &print(colorlog::ColorStream &stream, const Variabl
inline colorlog::ColorStream &print(colorlog::ColorStream &stream, const Predicate &predicate, pddl::detail::PrintContext &printContext)
{
stream << "(" << pddl::detail::Identifier(predicate.declaration->name) << " ";
stream << "(" << pddl::detail::Identifier(predicate.declaration->name);
for (const auto &argument : predicate.arguments)
{
if (&argument != &predicate.arguments.front())
stream << " ";
stream << " ";
print(stream, argument, printContext);
}