From 827267b981f8998c47f2da50dd80f91d59ec5d1b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 6 Sep 2015 10:36:09 +0200 Subject: [PATCH] src/fvec.c: fix variable name --- src/fvec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; } -- 2.11.0