Mercurial > hg > libxtract
diff src/scalar.c @ 219:eb2ab9b70c29
Correct name for xtract_peak()
author | Jamie Bullock <jamie@jamiebullock.com> |
---|---|
date | Wed, 04 Jun 2014 14:15:19 +0100 |
parents | 44401945d850 |
children | 611e521cb701 |
line wrap: on
line diff
--- a/src/scalar.c Wed Jun 04 14:15:03 2014 +0100 +++ b/src/scalar.c Wed Jun 04 14:15:19 2014 +0100 @@ -1002,7 +1002,7 @@ return XTRACT_SUCCESS; } -int xtract_peak_picker(const double *data, const int N, const void *argv, double *result) +int xtract_peak(const double *data, const int N, const void *argv, double *result) { double threshold = *(double *)argv; double current = data[N - 1];