IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 85991fb1 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan: Committed by Felix Riehn
Browse files

fixed type

parent 2d710557
No related branches found
No related tags found
1 merge request!311Resolve "testModules fails with segfault on release build with clang-8"
......@@ -220,7 +220,7 @@ namespace corsika {
auto energyCount = HEPEnergyType::zero();
auto const factor = -dE / deltaX;
auto fill = [&](int const bin, double const weight) {
auto fill = [&](int const bin, GrammageType const weight) {
auto const increment = factor * weight;
profile_[bin] += increment;
energyCount += increment;
......
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