Browse Source

fixed additional semicolon in CannotSlip Formulas

pull/9/head
sp 11 months ago
parent
commit
7e932200ca
  1. 2
      util/PrismFormulaPrinter.cpp

2
util/PrismFormulaPrinter.cpp

@ -158,7 +158,7 @@ namespace prism {
std::string identifier = capitalize(box.getColor()) + box.getType(); std::string identifier = capitalize(box.getColor()) + box.getType();
os << " | " << objectPositionToConjunction(agentName, identifier, slipCell); os << " | " << objectPositionToConjunction(agentName, identifier, slipCell);
} }
os << ";\n";
if(!semicolon) os << ";\n";
} }
std::string PrismFormulaPrinter::buildFormula(const std::string &formulaName, const std::string &formula, const bool semicolon) { std::string PrismFormulaPrinter::buildFormula(const std::string &formulaName, const std::string &formula, const bool semicolon) {

Loading…
Cancel
Save