IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 2ff7d7bc authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

address clang's "-Wc++11-narrowing" error

parent d0de8de7
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ using namespace corsika::units::si; ...@@ -28,7 +28,7 @@ using namespace corsika::units::si;
LongitudinalProfile::LongitudinalProfile(environment::ShowerAxis const& shower_axis) LongitudinalProfile::LongitudinalProfile(environment::ShowerAxis const& shower_axis)
: shower_axis_{shower_axis} : shower_axis_{shower_axis}
, profiles_{int(shower_axis.maximumX() / dX_) + 1} {} , profiles_{static_cast<unsigned int>(shower_axis.maximumX() / dX_) + 1} {}
void LongitudinalProfile::Init() {} void LongitudinalProfile::Init() {}
......
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