From 9b0203901bc83a07c4ce281f7d0c2e7f825f77a5 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sun, 7 Jan 2018 11:26:50 +0100 Subject: OFDM windowing, fix erroneous assignment in assertion --- src/GuardIntervalInserter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/GuardIntervalInserter.cpp') 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); -- cgit v1.2.3