diff options
author | Jean-Marc Valin <jmvalin@amazon.com> | 2023-05-24 08:26:08 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@amazon.com> | 2023-06-16 20:02:17 +0300 |
commit | 9ec1683f3265307bbb20285b306d3e28ee08d593 (patch) | |
tree | d3f8c67927ce3b5fa7423b70e4304c5b1da4e7c2 /silk | |
parent | 47b78667a182ee0e9e7ed1800a267574169377b1 (diff) |
A non-bit-exact C90 fix
Diffstat (limited to 'silk')
-rw-r--r-- | silk/dred_coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/dred_coding.c b/silk/dred_coding.c index 687eb055..4a6a5862 100644 --- a/silk/dred_coding.c +++ b/silk/dred_coding.c @@ -121,7 +121,7 @@ void dred_decode_state(ec_enc *dec, float *x) { { norm += (float) iy[k] * iy[k]; } - norm = 1.f / sqrtf(norm); + norm = 1.f / sqrt(norm); for (k = 0; k < PVQ_DIM; k++) { x[k] = iy[k] * norm; |