Fixed incorrect argument format in ASP output.

This commit is contained in:
Patrick Lühne 2017-06-28 00:51:42 +02:00
parent a5038535f4
commit 95c03396d0
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -98,9 +98,8 @@ inline void translateDerivedPredicateToVariable(colorlog::ColorStream &outputStr
inline void translateDerivedPredicateDeclarationToVariable(colorlog::ColorStream &outputStream, const ::pddl::normalizedAST::DerivedPredicateDeclaration &derivedPredicateDeclaration, bool isPositive = true)
{
outputStream << colorlog::Keyword("derivedVariable") << "(";
translateDerivedPredicateDeclaration(outputStream, derivedPredicateDeclaration);
outputStream << "), " << colorlog::Keyword("value") << "(";
outputStream << ", " << colorlog::Keyword("value") << "(";
translateDerivedPredicateDeclaration(outputStream, derivedPredicateDeclaration);
outputStream << ", ";