diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-22 23:27:57 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-22 23:27:57 -0700 |
commit | 1e2f457ee118f55d753a4c124315ab17f8eb5f1b (patch) | |
tree | 0a65dae004c693504c1f9a8f6734c3a311d190a1 /host/include | |
parent | ab4304f827cdfb5d46e392a14bad012378e4c4e7 (diff) | |
download | uhd-1e2f457ee118f55d753a4c124315ab17f8eb5f1b.tar.gz uhd-1e2f457ee118f55d753a4c124315ab17f8eb5f1b.tar.bz2 uhd-1e2f457ee118f55d753a4c124315ab17f8eb5f1b.zip |
usrp: fix the N/2 cordic tune issue, use boost math sign inplace of my signum
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/utils/algorithm.hpp | 11 |
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 |