From 6bad85d1dd440bf662af8ddbc62d4a09b742d7ec Mon Sep 17 00:00:00 2001 From: Carl Philipp Klemm <philipp@uvos.xyz> Date: Thu, 5 Jan 2023 00:00:00 +0100 Subject: [PATCH] model: fix isParamSweep() --- model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.cpp b/model.cpp index 74c0bb7..b4ff1e8 100644 --- a/model.cpp +++ b/model.cpp @@ -333,5 +333,5 @@ std::string Model::getModelStr() const bool Model::isParamSweep() { - return getRequiredStepsForSweeps() != 0; + return getRequiredStepsForSweeps() > 1; } -- GitLab