diff --git a/modules/audio_processing/aec3/reverb_decay_estimator.cc b/modules/audio_processing/aec3/reverb_decay_estimator.cc index 95fd13af59..b0082f16ad 100644 --- a/modules/audio_processing/aec3/reverb_decay_estimator.cc +++ b/modules/audio_processing/aec3/reverb_decay_estimator.cc @@ -287,7 +287,7 @@ void ReverbDecayEstimator::LateReverbLinearRegressor::Reset( // Arithmetic sum of $2 \sum_{i=0.5}^{(N-1)/2}i^2$ calculated directly. nn_ = SymmetricArithmetricSum(N); // The linear regression approach assumes symmetric index around 0. - count_ = N > 0 ? count_ = -N * 0.5f + 0.5f : 0.f; + count_ = N > 0 ? -N * 0.5f + 0.5f : 0.f; N_ = N; n_ = 0; }