Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2017-02-19 01:04:14 +0300
committerJean-Marc Valin <jmvalin@jmvalin.ca>2017-02-19 01:04:14 +0300
commitabc1a771fc67051b7b60a046d61446b2d6b97f7a (patch)
tree4c51ae97fa13d6028615f3f26461a737ede05361
parent0834ad61b171dc07c5653244a29632984643abdd (diff)
Fix stability test
-rw-r--r--silk/tests/test_unit_LPC_inv_pred_gain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/tests/test_unit_LPC_inv_pred_gain.c b/silk/tests/test_unit_LPC_inv_pred_gain.c
index dcc61bd8..67067cea 100644
--- a/silk/tests/test_unit_LPC_inv_pred_gain.c
+++ b/silk/tests/test_unit_LPC_inv_pred_gain.c
@@ -77,7 +77,7 @@ int check_stability(opus_int16 *A_Q12, int order) {
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;