Change in osmo-trx[master]: computeCI(): Constify param and pass it as reference

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Thu Sep 2 17:53:08 UTC 2021


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-trx/+/25317 )

Change subject: computeCI(): Constify param and pass it as reference
......................................................................

computeCI(): Constify param and pass it as reference

Change-Id: Icba5fce57c858bd16196ae3012c100c7e4134335
---
M Transceiver52M/sigProcLib.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/Transceiver52M/sigProcLib.cpp b/Transceiver52M/sigProcLib.cpp
index fa8a407..7169a15 100644
--- a/Transceiver52M/sigProcLib.cpp
+++ b/Transceiver52M/sigProcLib.cpp
@@ -1462,7 +1462,7 @@
  * by comparing the "ideal" training sequence with the actual one.
  */
 static float computeCI(const signalVector *burst, const CorrelationSequence *sync,
-                       float toa, int start, complex xcorr)
+                       float toa, int start, const complex &xcorr)
 {
   float S, C;
   int ps;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-trx/+/25317
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Icba5fce57c858bd16196ae3012c100c7e4134335
Gerrit-Change-Number: 25317
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210902/02a17312/attachment.htm>


More information about the gerrit-log mailing list