From 6e63e1c29657415725f4497dfff9a19c4fe5aa44 Mon Sep 17 00:00:00 2001 From: dehnert Date: Mon, 3 Feb 2014 15:41:02 +0100 Subject: [PATCH] Minor bugfix. Former-commit-id: d53be4f673dc346f222d2df38393d59f8dacd481 --- src/counterexamples/MILPMinimalLabelSetGenerator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/counterexamples/MILPMinimalLabelSetGenerator.h b/src/counterexamples/MILPMinimalLabelSetGenerator.h index 004baa5b0..3ec8256ed 100644 --- a/src/counterexamples/MILPMinimalLabelSetGenerator.h +++ b/src/counterexamples/MILPMinimalLabelSetGenerator.h @@ -1021,7 +1021,7 @@ namespace storm { LOG4CPLUS_ERROR(logger, "Illegal comparison operator in formula " << probBoundFormula->toString() << ". Only upper bounds are supported for counterexample generation."); throw storm::exceptions::InvalidPropertyException() << "Illegal comparison operator in formula " << probBoundFormula->toString() << ". Only upper bounds are supported for counterexample generation."; } - bool strictBound = probBoundFormula->getComparisonOperator() == storm::property::ComparisonType::LESS; + bool strictBound = !probBoundFormula->getComparisonOperator() == storm::property::ComparisonType::LESS; // Now derive the probability threshold we need to exceed as well as the phi and psi states. Simultaneously, check whether the formula is of a valid shape. double bound = probBoundFormula->getBound();