Fixed incorrect argument format in ASP output.
This commit is contained in:
parent
a5038535f4
commit
95c03396d0
@ -98,9 +98,8 @@ inline void translateDerivedPredicateToVariable(colorlog::ColorStream &outputStr
|
|||||||
|
|
||||||
inline void translateDerivedPredicateDeclarationToVariable(colorlog::ColorStream &outputStream, const ::pddl::normalizedAST::DerivedPredicateDeclaration &derivedPredicateDeclaration, bool isPositive = true)
|
inline void translateDerivedPredicateDeclarationToVariable(colorlog::ColorStream &outputStream, const ::pddl::normalizedAST::DerivedPredicateDeclaration &derivedPredicateDeclaration, bool isPositive = true)
|
||||||
{
|
{
|
||||||
outputStream << colorlog::Keyword("derivedVariable") << "(";
|
|
||||||
translateDerivedPredicateDeclaration(outputStream, derivedPredicateDeclaration);
|
translateDerivedPredicateDeclaration(outputStream, derivedPredicateDeclaration);
|
||||||
outputStream << "), " << colorlog::Keyword("value") << "(";
|
outputStream << ", " << colorlog::Keyword("value") << "(";
|
||||||
translateDerivedPredicateDeclaration(outputStream, derivedPredicateDeclaration);
|
translateDerivedPredicateDeclaration(outputStream, derivedPredicateDeclaration);
|
||||||
outputStream << ", ";
|
outputStream << ", ";
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user