Index: modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
diff --git a/modules/audio_processing/intelligibility/intelligibility_enhancer.cc b/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
index 1e766875caedc519004077e4a2ebfc1f993c9262..e4a8139c4c5d7fcd6c6415c948f6d7f15cbb5c28 100644 |
--- a/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
+++ b/modules/audio_processing/intelligibility/intelligibility_enhancer.cc |
@@ -390,8 +390,9 @@ void IntelligibilityEnhancer::SolveForGainsGivenLambda(float lambda, |
} |
void IntelligibilityEnhancer::FilterVariance(const float* var, float* result) { |
+ DCHECK_GT(freqs_, 0); |
for (int i = 0; i < bank_size_; ++i) { |
- result[i] = DotProduct(filter_bank_[i].data(), var, freqs_); |
+ result[i] = DotProduct(&filter_bank_[i][0], var, freqs_); |
} |
} |