From 85817ae5a817c88c6c2bb8871ba7107967a8439a Mon Sep 17 00:00:00 2001 From: Dominik Baack <dominik.baack@tu-dortmund.de> Date: Mon, 23 Nov 2020 13:51:25 +0100 Subject: [PATCH] some fixes to the utility functions --- corsika/detail/framework/utility/COMBoost.inl | 4 ++-- corsika/framework/utility/CorsikaFenv.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/corsika/detail/framework/utility/COMBoost.inl b/corsika/detail/framework/utility/COMBoost.inl index 36111a2b9..35dbdb10a 100644 --- a/corsika/detail/framework/utility/COMBoost.inl +++ b/corsika/detail/framework/utility/COMBoost.inl @@ -42,8 +42,8 @@ namespace corsika { setBoost(coshEta, sinhEta); - CORSIKA_LOG_TRACE("COMBoost (1-beta)={}, gamma={}, det={}", 1 - sinhEta / coshEta, - coshEta, boost_.determinant() - 1); + CORSIKA_LOG_TRACE("COMBoost (1-beta)={}, gamma={}, det={}", 1 - sinhEta / coshEta, coshEta, + boost_.determinant() - 1); } COMBoost::COMBoost(Vector<hepmomentum_d> const& momentum, HEPEnergyType mass) diff --git a/corsika/framework/utility/CorsikaFenv.hpp b/corsika/framework/utility/CorsikaFenv.hpp index 07bdb33a7..a7d51aef5 100644 --- a/corsika/framework/utility/CorsikaFenv.hpp +++ b/corsika/framework/utility/CorsikaFenv.hpp @@ -22,10 +22,10 @@ int fedisableexcept(int excepts); #ifdef CORSIKA_HAS_FEENABLEEXCEPT // Nothing to do, OS privides the functions -#elif +#else #ifdef CORSIKA_OS_MAC #include <corsika/detail/framework/utility/CorsikaFenvOSX.inl> - #elif + #else #include <corsika/detail/framework/utility/CorsikaFenvFallback.inl> #endif #endif \ No newline at end of file -- GitLab