aboutsummaryrefslogtreecommitdiff
path: root/src/delta.c
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2008-05-04 11:02:40 +0000
committerJamie Bullock <jamie@postlude.co.uk>2008-05-04 11:02:40 +0000
commit6a4be601746f6a84fc70434a61b16bea86b6c147 (patch)
treefd8e8bfac0e6846f848a38490d583f4bfa7f6a6e /src/delta.c
parentd817fc9b42b0c04d6452159ca63f5a30834f5489 (diff)
downloadLibXtract-6a4be601746f6a84fc70434a61b16bea86b6c147.tar.gz
LibXtract-6a4be601746f6a84fc70434a61b16bea86b6c147.tar.bz2
LibXtract-6a4be601746f6a84fc70434a61b16bea86b6c147.zip
Fixed bug in peak interpolation algorithm in xtract_peak_spectrum()
Diffstat (limited to 'src/delta.c')
-rw-r--r--src/delta.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/delta.c b/src/delta.c
index 25d380b..b1effd0 100644
--- a/src/delta.c
+++ b/src/delta.c
@@ -26,6 +26,7 @@
int xtract_flux(const float *data, const int N, const void *argv , float *result){
+ /* FIX: don't be lazy -- take the lnorm of the difference vector! */
return xtract_lnorm(data, N, argv, result);
}