summaryrefslogtreecommitdiff
path: root/gr-atsc/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'gr-atsc/src/lib')
-rw-r--r--gr-atsc/src/lib/atsci_sssr.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-atsc/src/lib/atsci_sssr.cc b/gr-atsc/src/lib/atsci_sssr.cc
index 7a9791467..efd9ffbbd 100644
--- a/gr-atsc/src/lib/atsci_sssr.cc
+++ b/gr-atsc/src/lib/atsci_sssr.cc
@@ -145,6 +145,8 @@ atsci_sssr::update (sssr::sample_t sample_in, // input
int bit = boost::math::signbit (sample_in);
if (bit != 0)
+ bit = 0;
+ else
bit = 1;
int corr_out = d_correlator.update (bit);
int weight = sipp (corr_out);