projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a0d9b0
)
src/fvec.c: fix variable name
author
Paul Brossier
<piem@piem.org>
Sun, 6 Sep 2015 08:36:09 +0000
(10:36 +0200)
committer
Paul Brossier
<piem@piem.org>
Sun, 6 Sep 2015 08:36:09 +0000
(10:36 +0200)
src/fvec.c
patch
|
blob
|
history
diff --git
a/src/fvec.c
b/src/fvec.c
index
601cfe2
..
1b0f750
100644
(file)
--- 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];
}