From 7e932200caa3a63aca0d25577f8e2e8c7e198e1e Mon Sep 17 00:00:00 2001 From: sp Date: Wed, 10 Jan 2024 18:35:31 +0100 Subject: [PATCH] fixed additional semicolon in CannotSlip Formulas --- util/PrismFormulaPrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/PrismFormulaPrinter.cpp b/util/PrismFormulaPrinter.cpp index ef2f5a5..4f1d4d1 100644 --- a/util/PrismFormulaPrinter.cpp +++ b/util/PrismFormulaPrinter.cpp @@ -158,7 +158,7 @@ namespace prism { std::string identifier = capitalize(box.getColor()) + box.getType(); 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) {