Minor formatting in PDDL debug output.
This commit is contained in:
parent
3d9bf2582f
commit
c0b71290a4
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user