aboutsummaryrefslogtreecommitdiff
path: root/silk/float/schur_FLP.c
diff options
context:
space:
mode:
Diffstat (limited to 'silk/float/schur_FLP.c')
-rw-r--r--silk/float/schur_FLP.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/silk/float/schur_FLP.c b/silk/float/schur_FLP.c
index ee436f83..d44389fd 100644
--- a/silk/float/schur_FLP.c
+++ b/silk/float/schur_FLP.c
@@ -38,8 +38,8 @@ silk_float silk_schur_FLP( /* O returns residual energy
)
{
opus_int k, n;
- silk_float C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
- silk_float Ctmp1, Ctmp2, rc_tmp;
+ double C[ SILK_MAX_ORDER_LPC + 1 ][ 2 ];
+ double Ctmp1, Ctmp2, rc_tmp;
silk_assert( order==6||order==8||order==10||order==12||order==14||order==16 );
@@ -53,7 +53,7 @@ silk_float silk_schur_FLP( /* O returns residual energy
rc_tmp = -C[ k + 1 ][ 0 ] / silk_max_float( C[ 0 ][ 1 ], 1e-9f );
/* Save the output */
- refl_coef[ k ] = rc_tmp;
+ refl_coef[ k ] = (silk_float)rc_tmp;
/* Update correlations */
for( n = 0; n < order - k; n++ ) {
@@ -65,6 +65,6 @@ silk_float silk_schur_FLP( /* O returns residual energy
}
/* Return residual energy */
- return C[ 0 ][ 1 ];
+ return (silk_float)C[ 0 ][ 1 ];
}