diff --git a/Detectors/GlobalTrackingWorkflow/study/src/CheckResidSpec.cxx b/Detectors/GlobalTrackingWorkflow/study/src/CheckResidSpec.cxx index bdef5930bb6a3..244cd03618f5d 100644 --- a/Detectors/GlobalTrackingWorkflow/study/src/CheckResidSpec.cxx +++ b/Detectors/GlobalTrackingWorkflow/study/src/CheckResidSpec.cxx @@ -1103,7 +1103,7 @@ void CheckResidSpec::drawHistos() AddLabel("IB-OB tracks params differences at R = 12 cm", 0.2, 0.8); czlpar.Print(Form("%s_hman.pdf", params.outname.c_str())); - auto getHMinMax = [this](int id, float marginFrac = 0.2, float maxDev, int roundToMicrons) -> std::tuple { + auto getHMinMax = [this](int id, float marginFrac, float maxDev, int roundToMicrons) -> std::tuple { float maxV = std::numeric_limits::min(), minV = std::numeric_limits::max(); const int nh = this->mHManV.size(); for (int j = 0; j < nh; j++) {