From 539de29c2373b79d62f26dfef72ff857444a1f31 Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Tue, 8 Oct 2024 12:01:57 +0200 Subject: [PATCH] Fix initialization of Model::simulation_parameters_::pscale (#2530) pscale was set on moved-from object simulation_parameters instead of simulation_parameters_ --- src/model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model.cpp b/src/model.cpp index 9d5e9fa396..7c4aee73db 100644 --- a/src/model.cpp +++ b/src/model.cpp @@ -196,7 +196,7 @@ Model::Model( == gsl::narrow(simulation_parameters_.fixedParameters.size()) ); - simulation_parameters.pscale = std::vector( + simulation_parameters_.pscale = std::vector( model_dimensions.np, ParameterScaling::none );