diff --git a/Documentation/Examples/CMakeLists.txt b/Documentation/Examples/CMakeLists.txt index 2459d4d9a7faf03b3a2d8fdb03b562db7848a4a7..5a5bd65531b948d1b71536e83f7f88a905c6f4fa 100644 --- a/Documentation/Examples/CMakeLists.txt +++ b/Documentation/Examples/CMakeLists.txt @@ -31,6 +31,7 @@ target_link_libraries (cascade_example SuperStupidStack CORSIKAunits CORSIKAlogg CORSIKAprocesses CORSIKAparticles CORSIKAgeometry + CORSIKAenvironment CORSIKAprocesssequence ) #install (TARGETS cascade_example DESTINATION share/examples) diff --git a/Environment/Environment.h b/Environment/Environment.h index 041ca1afab764b2fd5f2701d38fe93216f91b967..335f776ee69d76bc77fb2fef628761ae8b67508c 100644 --- a/Environment/Environment.h +++ b/Environment/Environment.h @@ -26,7 +26,7 @@ namespace corsika::environment { corsika::geometry::Point{ pCS, 0 * corsika::units::si::meter, 0 * corsika::units::si::meter, 0 * corsika::units::si::meter}, - corsika::units::si::meter * std::numeric_limits<double>::max()) {} + corsika::units::si::meter * std::numeric_limits<double>::infinity()) {} bool Contains(corsika::geometry::Point const&) const override { return true; } };