From 1498ced017e1a7817cc72913634a7e68b5160b45 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 2 Oct 2009 02:14:06 +0200 Subject: [PATCH] src/mathutils.c: fix fvec_min_removal --- src/mathutils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mathutils.c b/src/mathutils.c index 26deb9dc..b49bb0f4 100644 --- a/src/mathutils.c +++ b/src/mathutils.c @@ -184,10 +184,10 @@ void fvec_min_removal (fvec_t * o) { uint_t i, j; - smpl_t mini = fvec_min (mag); + smpl_t mini = fvec_min (o); for (i = 0; i < o->channels; i++) { for (j = 0; j < o->length; j++) { - mag->data[i][j] -= mini; + o->data[i][j] -= mini; } } } -- 2.26.2