Skip to content

Commit

Permalink
Fix initialization of Model::simulation_parameters_::pscale (#2530)
Browse files Browse the repository at this point in the history
pscale was set on moved-from object simulation_parameters instead of simulation_parameters_
  • Loading branch information
dweindl authored Oct 8, 2024
1 parent 12420c3 commit 539de29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/model.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ Model::Model(
== gsl::narrow<int>(simulation_parameters_.fixedParameters.size())
);

simulation_parameters.pscale = std::vector<ParameterScaling>(
simulation_parameters_.pscale = std::vector<ParameterScaling>(
model_dimensions.np, ParameterScaling::none
);

Expand Down

0 comments on commit 539de29

Please sign in to comment.