aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
authorNick Foster <nick@nerdnetworks.org>2010-07-26 11:48:23 -0700
committerNick Foster <nick@nerdnetworks.org>2010-07-26 11:48:23 -0700
commit8d18814cc33cc9a703da5e7eeee00a0d2499074b (patch)
treebaa9d51e6fe867de91662ed9542cfe0bd881b9b8 /host/include
parent5ba60fa140d2f6e96aea1394554232809b3eeae9 (diff)
parentf86c25317b457b280c697fc47905c79bdbbc0c93 (diff)
downloaduhd-8d18814cc33cc9a703da5e7eeee00a0d2499074b.tar.gz
uhd-8d18814cc33cc9a703da5e7eeee00a0d2499074b.tar.bz2
uhd-8d18814cc33cc9a703da5e7eeee00a0d2499074b.zip
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into codec_gains
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/utils/algorithm.hpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/host/include/uhd/utils/algorithm.hpp b/host/include/uhd/utils/algorithm.hpp
index b52edc6b5..54bc78494 100644
--- a/host/include/uhd/utils/algorithm.hpp
+++ b/host/include/uhd/utils/algorithm.hpp
@@ -112,17 +112,6 @@ namespace std{
}
/*!
- * A templated signum implementation.
- * \param n the comparable to process
- * \return -1 when n negative, +1 when n positive, otherwise 0
- */
- template<typename T> inline int signum(T n){
- if (n < 0) return -1;
- if (n > 0) return +1;
- return 0;
- }
-
- /*!
* A templated clip implementation.
* \param val the value to clip between an upper and lower limit
* \param bound1 the upper or lower bound