Mercurial > hg > silvet
diff src/EM.cpp @ 102:19f6832fdc8a bqvec
Ooh, that's a trappy one
author | Chris Cannam |
---|---|
date | Tue, 06 May 2014 15:12:45 +0100 |
parents | 8259193b3b16 |
children | e6b4235fa2ea |
line wrap: on
line diff
--- a/src/EM.cpp Tue May 06 15:09:16 2014 +0100 +++ b/src/EM.cpp Tue May 06 15:12:45 2014 +0100 @@ -153,7 +153,7 @@ const double *w = templateFor(i, n, f); const double shift = m_shifts[f][n]; const double factor = pitch * source * shift; - v_add_with_gain(m_estimate, w, factor, m_binCount); + v_add_with_gain(m_estimate, w, m_binCount, factor); } } }