computeCI(): Constify param and pass it as reference

Change-Id: Icba5fce57c858bd16196ae3012c100c7e4134335
This commit is contained in:
Pau Espin 2021-09-01 19:51:28 +02:00
parent 27bd2f6dd1
commit d16eb314ed
1 changed files with 1 additions and 1 deletions

View File

@ -1462,7 +1462,7 @@ static signalVector *downsampleBurst(const signalVector &burst)
* 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;