summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:26:50 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:26:50 +0100
commit9b0203901bc83a07c4ce281f7d0c2e7f825f77a5 (patch)
tree6c21fe2d69cc28271cd2455744e9b3b485a7f958
parent1dadf3b7856940911724d02613085d57535da474 (diff)
downloaddabmod-9b0203901bc83a07c4ce281f7d0c2e7f825f77a5.tar.gz
dabmod-9b0203901bc83a07c4ce281f7d0c2e7f825f77a5.tar.bz2
dabmod-9b0203901bc83a07c4ce281f7d0c2e7f825f77a5.zip
OFDM windowing, fix erroneous assignment in assertion
-rw-r--r--src/GuardIntervalInserter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GuardIntervalInserter.cpp b/src/GuardIntervalInserter.cpp
index 14027d3..afb9213 100644
--- a/src/GuardIntervalInserter.cpp
+++ b/src/GuardIntervalInserter.cpp
@@ -201,7 +201,7 @@ int GuardIntervalInserter::process(Buffer* const dataIn, Buffer* dataOut)
memcpy( &out[ox], &in[ix],
remaining_prefix_length * sizeof(complexf));
ox += remaining_prefix_length;
- assert(ox = end_cyclic_prefix_ox);
+ assert(ox == end_cyclic_prefix_ox);
ix = 0;
const bool last_symbol = (sym_ix + 1 >= d_nbSymbols);