Skip to content

Commit

Permalink
Eliminate one function.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuDutSik committed Nov 12, 2023
1 parent 946f91e commit 245d095
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src_basic/Basic_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ template <typename T> T T_abs(T const &eVal) {
return fVal;
}

template <typename T> T T_sign(T const &eVal) {
T fVal(1);
if (eVal < 0)
fVal = T(-1);
return fVal;
}

// use std::min for generic types (int, long, float, ...)
template <typename T> T T_min(T const &eVal1, T const &eVal2) {
if (eVal1 > eVal2)
Expand Down

0 comments on commit 245d095

Please sign in to comment.