From 681665c88164f4c69f0e7df8c4214ca4d2b15c42 Mon Sep 17 00:00:00 2001 From: Tim Quatmann Date: Thu, 6 Jun 2019 21:15:29 +0200 Subject: [PATCH] DetSchedsParetoExplorer: Fixed an assertion. --- .../deterministicScheds/DeterministicSchedsParetoExplorer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storm/modelchecker/multiobjective/deterministicScheds/DeterministicSchedsParetoExplorer.cpp b/src/storm/modelchecker/multiobjective/deterministicScheds/DeterministicSchedsParetoExplorer.cpp index dda3b2c0f..a1e05f377 100644 --- a/src/storm/modelchecker/multiobjective/deterministicScheds/DeterministicSchedsParetoExplorer.cpp +++ b/src/storm/modelchecker/multiobjective/deterministicScheds/DeterministicSchedsParetoExplorer.cpp @@ -426,7 +426,7 @@ namespace storm { f.addPoint(p.first, p.second); } } - STORM_LOG_ASSERT(std::count(f.getHalfspace().normalVector().begin(), f.getHalfspace().normalVector().end(), storm::utility::zero()) + f.getNumberOfPoints() == objectives.size(), "Unexpected number of points on facet."); + STORM_LOG_ASSERT(std::count(f.getHalfspace().normalVector().begin(), f.getHalfspace().normalVector().end(), storm::utility::zero()) + f.getNumberOfPoints() >= objectives.size(), "Not enough points on facet."); unprocessedFacets.push(std::move(f)); }