Skip to content

Commit

Permalink
Implementing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mlesch committed Dec 23, 2024
1 parent 3dd2a70 commit 4720a11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Modules/TPC/src/AtmosPressureReductor.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ bool AtmosPressureReductor::update(ConditionRetriever& retriever)
std::vector<float> pressureValues;

// Cavern pressure 1
for (const auto& [time, p] : env->mEnvVars["CavernAtmosPressure"]) {
for ([[maybe_unused]] const auto& [time, p] : env->mEnvVars["CavernAtmosPressure"]) {
pressureValues.emplace_back((float)p);
}
calcMeanAndStddev(pressureValues, mStats.cavernPressure1, mStats.errCavernPressure1);
Expand All @@ -51,7 +51,7 @@ bool AtmosPressureReductor::update(ConditionRetriever& retriever)
pressureValues.clear();

// Surface pressure
for (const auto& [time, p] : env->mEnvVars["SurfaceAtmosPressure"]) {
for ([[maybe_unused]] const auto& [time, p] : env->mEnvVars["SurfaceAtmosPressure"]) {
pressureValues.emplace_back((float)p);
}
calcMeanAndStddev(pressureValues, mStats.surfacePressure, mStats.errSurfacePressure);
Expand Down

0 comments on commit 4720a11

Please sign in to comment.