mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-19 21:38:08 +00:00
sigProcLib: Fix complex/real vector flag in Laurent modulator
The modulator vector to be shaped by Laurent C1 pulse is complex, but was set as real. The error does not affect behaviour because we only support complex-complex and complex-real calculations; real-real convolution is not supported. So in this case the data vector was already assumed to be complex despite the improper flag setting. Change-Id: I03afc6a93a01fde7a9a02e4eb9d201d3ee37d21a
This commit is contained in:
@@ -643,7 +643,6 @@ static signalVector *modulateBurstLaurent(const BitVector &bits)
|
|||||||
c0_itr = c0_burst->begin();
|
c0_itr = c0_burst->begin();
|
||||||
|
|
||||||
c1_burst = new signalVector(burst_len, c1_pulse->size());
|
c1_burst = new signalVector(burst_len, c1_pulse->size());
|
||||||
c1_burst->isReal(true);
|
|
||||||
c1_itr = c1_burst->begin();
|
c1_itr = c1_burst->begin();
|
||||||
|
|
||||||
/* Padded differential tail bits */
|
/* Padded differential tail bits */
|
||||||
|
|||||||
Reference in New Issue
Block a user