Removed unwanted newline in SAS output.

This commit is contained in:
Patrick Lühne 2016-08-13 18:44:18 +02:00
parent 1727113a8b
commit c391a1f566

View File

@ -35,8 +35,13 @@ void TranslatorASP::translate() const
translateActions();
m_outputStream << std::endl;
translateMutexes();
if (m_description.usesAxiomRules())
{
m_outputStream << std::endl;
translateAxiomRules();
}
m_outputStream << std::endl;
translateInitialState();
m_outputStream << std::endl;
@ -236,9 +241,6 @@ void TranslatorASP::translateMutexes() const
void TranslatorASP::translateAxiomRules() const
{
if (!m_description.usesAxiomRules())
return;
m_outputStream << utils::Heading2("axiom rules");
const auto &axiomRules = m_description.axiomRules();