ref: abc1a771fc67051b7b60a046d61446b2d6b97f7a
parent: 0834ad61b171dc07c5653244a29632984643abdd
author: Jean-Marc Valin <jmvalin@jmvalin.ca>
date: Sat Feb 18 12:04:14 EST 2017
Fix stability test
--- a/silk/tests/test_unit_LPC_inv_pred_gain.c
+++ b/silk/tests/test_unit_LPC_inv_pred_gain.c
@@ -77,7 +77,7 @@
if( ( i & 0x7 ) == 0 ) {
double amp = 0;
for( j = 0; j < order; j++ ) {
- amp += fabs(y[0]);
+ amp += fabs(y[j]);
}
if( amp < 0.00001 ) {
return 1;