aboutsummaryrefslogtreecommitdiffstats
path: root/src/GuardIntervalInserter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/GuardIntervalInserter.cpp')
-rw-r--r--src/GuardIntervalInserter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GuardIntervalInserter.cpp b/src/GuardIntervalInserter.cpp
index 28e9fb0..50faf65 100644
--- a/src/GuardIntervalInserter.cpp
+++ b/src/GuardIntervalInserter.cpp
@@ -35,8 +35,8 @@ GuardIntervalInserter::GuardIntervalInserter(size_t nbSymbols,
size_t spacing,
size_t nullSize,
size_t symSize) :
- ModCodec(ModFormat(d_nbSymbols * d_spacing * sizeof(complexf)),
- ModFormat((d_nullSize + (d_nbSymbols * d_symSize))
+ ModCodec(ModFormat(nbSymbols * spacing * sizeof(complexf)),
+ ModFormat((nullSize + (nbSymbols * symSize))
* sizeof(complexf))),
d_nbSymbols(nbSymbols),
d_spacing(spacing),