summaryrefslogtreecommitdiff
path: root/gr-atsc/src/lib/atsci_equalizer_lms2.cc
diff options
context:
space:
mode:
authorTom Rondeau2011-06-05 15:36:47 -0400
committerTom Rondeau2011-06-05 15:36:47 -0400
commit233f960474f86bc8cc519ce7257b29d8615c4000 (patch)
tree1a4c846119a01a5a195a9e9ee5b854384b0b6535 /gr-atsc/src/lib/atsci_equalizer_lms2.cc
parent024c79a7fb13c08bae7b97079a245f711ecf12a7 (diff)
parenta23a0a46c3bf446cbe09d71bc8e10b061256ef56 (diff)
downloadgnuradio-233f960474f86bc8cc519ce7257b29d8615c4000.tar.gz
gnuradio-233f960474f86bc8cc519ce7257b29d8615c4000.tar.bz2
gnuradio-233f960474f86bc8cc519ce7257b29d8615c4000.zip
Merge branch 'master' into turbo
Diffstat (limited to 'gr-atsc/src/lib/atsci_equalizer_lms2.cc')
-rw-r--r--gr-atsc/src/lib/atsci_equalizer_lms2.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/gr-atsc/src/lib/atsci_equalizer_lms2.cc b/gr-atsc/src/lib/atsci_equalizer_lms2.cc
index 345f6209f..f9fb57c7b 100644
--- a/gr-atsc/src/lib/atsci_equalizer_lms2.cc
+++ b/gr-atsc/src/lib/atsci_equalizer_lms2.cc
@@ -28,6 +28,7 @@
#include <stdlib.h>
#include <gr_math.h>
#include <stdio.h>
+#include <boost/math/special_functions/fpclassify.hpp>
using std::min;
using std::max;
@@ -55,7 +56,7 @@ wrap (int d)
static inline float
slice (float d)
{
- if (gr_isnan (d))
+ if (boost::math::isnan (d))
return 0.0;
if (d >= 0.0){
@@ -247,7 +248,7 @@ atsci_equalizer_lms2::filter1 (const float input[])
acc -= d_taps_fb[i] * d_old_output[wrap(i + d_output_ptr)];
}
- if (gr_isnan (acc)){
+ if (boost::math::isnan (acc)){
abort ();
}