Skip to content

Commit

Permalink
Fixed typo in PDDL translation output.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluehne committed Jun 14, 2016
1 parent 6b5c8df commit d3039d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plasp/pddl/TranslatorASP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
}
Expand Down

0 comments on commit d3039d5

Please sign in to comment.