shithub: aubio

Download patch

ref: 827267b981f8998c47f2da50dd80f91d59ec5d1b
parent: 0a0d9b0bd155d1f8720ccd8db46e73303724bec5
author: Paul Brossier <[email protected]>
date: Sun Sep 6 06:36:09 EDT 2015

src/fvec.c: fix variable name

--- a/src/fvec.c
+++ b/src/fvec.c
@@ -110,7 +110,7 @@
 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];
   }