From: Paul Brossier Date: Sun, 6 Sep 2015 08:36:09 +0000 (+0200) Subject: src/fvec.c: fix variable name X-Git-Tag: 0.4.4~300^2~366 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=827267b981f8998c47f2da50dd80f91d59ec5d1b;p=aubio.git src/fvec.c: fix variable name --- diff --git a/src/fvec.c b/src/fvec.c index 601cfe2e..1b0f750e 100644 --- a/src/fvec.c +++ b/src/fvec.c @@ -110,7 +110,7 @@ void fvec_weight(fvec_t *s, fvec_t *weight) { void fvec_weighted_copy(fvec_t *in, fvec_t *weight, fvec_t *out) { #ifndef HAVE_ACCELERATE uint_t j; - uint_t length = MIN(s->length, weight->length); + uint_t length = MIN(out->length, weight->length); for (j=0; j< length; j++) { out->data[j] = in->data[j] * weight->data[j]; }