From d6c61144dfa8799b3c220ccc106f800eab8a15d3 Mon Sep 17 00:00:00 2001 From: Dominik Baack <dominik.baack@tu-dortmund.de> Date: Fri, 13 Nov 2020 22:26:56 +0100 Subject: [PATCH] Removed sgn.hpp with only on (invalid) use in the codebase --- corsika/framework/utility/sgn.hpp | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 corsika/framework/utility/sgn.hpp diff --git a/corsika/framework/utility/sgn.hpp b/corsika/framework/utility/sgn.hpp deleted file mode 100644 index 70c1265d6..000000000 --- a/corsika/framework/utility/sgn.hpp +++ /dev/null @@ -1,20 +0,0 @@ -/* - * (c) Copyright 2018 CORSIKA Project, corsika-project@lists.kit.edu - * - * - * This software is distributed under the terms of the GNU General Public - * Licence version 3 (GPL Version 3). See file LICENSE for a full version of - * the license. - */ - -#pragma once - -namespace corsika { - - //! sign function without branches - template <typename T> - static int sgn(T val) { - return (T(0) < val) - (val < T(0)); - } - -} // namespace corsika -- GitLab