Skip to content

Commit

Permalink
CVode solver: Options accidental copy
Browse files Browse the repository at this point in the history
  • Loading branch information
bendudson committed Feb 7, 2024
1 parent 377836a commit 08a764f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/impls/cvode/cvode.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ int CvodeSolver::init() {
f2dtols.reserve(f2d.size());
std::transform(begin(f2d), end(f2d), std::back_inserter(f2dtols),
[this](const VarStr<Field2D>& f2) {
auto f2_options = Options::root()[f2.name];
auto& f2_options = Options::root()[f2.name];
const auto wrong_name = f2_options.isSet("abstol");
if (wrong_name) {
output_warn << "WARNING: Option 'abstol' for field " << f2.name
Expand Down

0 comments on commit 08a764f

Please sign in to comment.