Fixed typo in PDDL translation output.
This commit is contained in:
parent
6b5c8df03a
commit
d3039d55e5
@ -267,13 +267,13 @@ void TranslatorASP::translateConstants(const std::string &heading, const express
|
||||
{
|
||||
m_outputStream << utils::Keyword("hasType") << "("
|
||||
<< utils::Keyword("constant") << "(" << constantName << "), "
|
||||
<< utils::Keyword("hastype") << "(" << utils::escapeASP(type->name()) << "))." << std::endl;
|
||||
<< utils::Keyword("type") << "(" << utils::escapeASP(type->name()) << "))." << std::endl;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_outputStream << utils::Keyword("hasType") << "("
|
||||
<< utils::Keyword("constant") << "(" << constantName << "), "
|
||||
<< utils::Keyword("hastype") << "(object))." << std::endl;
|
||||
<< utils::Keyword("type") << "(object))." << std::endl;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user