Skip to content
Snippets Groups Projects
Commit 9c6106fa authored by Andrii Verbytskyi's avatar Andrii Verbytskyi Committed by Walter Lampl
Browse files

Update NswErrorCalibData.cxx to fix cppcheck warning

Update NswErrorCalibData.cxx to fix cppcheck warning
parent 1ea35ef6
No related branches found
No related tags found
1 merge request!67855Update NswErrorCalibData.cxx to fix cppcheck warning
......@@ -34,7 +34,7 @@ errorParametrizer NswErrorCalibData::getParametrizer(const std::string& funcName
return evalPoly(input.locTheta, pars);
};
} else if (funcName == "scaleErrorAndAddSyst"){
return [](const Input& input, const std::vector<double> pars){
return [](const Input& input, const std::vector<double>& pars){
return scaleErrorAndAddSyst(input.clusterError, pars);
};
}
......@@ -137,4 +137,4 @@ StatusCode NswErrorCalibData::storeConstants(const Identifier& gasGapId,
return StatusCode::FAILURE;
}
return StatusCode::SUCCESS;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment