diff --git a/src/Libpfs/manip/gamma_levels.cpp b/src/Libpfs/manip/gamma_levels.cpp index 67975111..c0fb1798 100644 --- a/src/Libpfs/manip/gamma_levels.cpp +++ b/src/Libpfs/manip/gamma_levels.cpp @@ -31,13 +31,6 @@ namespace { -template -inline T clamp(const T &v, const T &lower_bound, const T &upper_bound) { - if (v <= lower_bound) return lower_bound; - if (v >= upper_bound) return upper_bound; - return v; -} - ////! \note I assume that *in* contains only value between [0,1] // void gamma_levels_array(const pfs::Array2D* in, pfs::Array2D* out, // float black_in, float white_in,