diff options
Diffstat (limited to 'gr-vocoder/lib/codec2/interp.c')
-rw-r--r-- | gr-vocoder/lib/codec2/interp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gr-vocoder/lib/codec2/interp.c b/gr-vocoder/lib/codec2/interp.c index 64372b050f..fad4554f43 100644 --- a/gr-vocoder/lib/codec2/interp.c +++ b/gr-vocoder/lib/codec2/interp.c @@ -212,6 +212,7 @@ float sample_log_amp_quad_nl( /* find closest point to centre quadratic interpolator */ best_dist = 1E32; + m = 0; for (i=0; i<np; i++) if (fabs(w[i] - w_sample) < best_dist) { best_dist = fabs(w[i] - w_sample); |