Skip to content

Commit

Permalink
Oops key vs pair
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Nov 13, 2024
1 parent cf15871 commit 6939da2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/outputs/history.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void HistoryOutput::WriteOutputFile(Mesh *pm, ParameterInput *pin, SimTime *tm,
std::sort(keys.begin(), keys.end());
for (const auto &key : keys) {
const auto &pkg = packages[key];
const auto &params = pkg.second->AllParams();
const auto &params = pkg->AllParams();

// Check if the package has enrolled scalar history functions which are stored in the
// Params under the `hist_param_key` name.
Expand Down

0 comments on commit 6939da2

Please sign in to comment.