aboutsummaryrefslogtreecommitdiff
path: root/xtract/xtract_scalar.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2012-03-29 12:23:04 +0000
committerJamie Bullock <jamie@postlude.co.uk>2012-03-29 12:23:04 +0000
commitd78037e45f941ebf7eb1ad42e47577d749b8bc2d (patch)
tree27dc0c6309fc804adf5cd786d6a749f34082b77f /xtract/xtract_scalar.h
parent2c47459bdf912a30ba1c64c2bf538aaacf4c2aa2 (diff)
downloadLibXtract-d78037e45f941ebf7eb1ad42e47577d749b8bc2d.tar.gz
LibXtract-d78037e45f941ebf7eb1ad42e47577d749b8bc2d.tar.bz2
LibXtract-d78037e45f941ebf7eb1ad42e47577d749b8bc2d.zip
- fixed build-time bug. in some cases average_deviation was commented out instead of spectral_average_deviation
Diffstat (limited to 'xtract/xtract_scalar.h')
-rw-r--r--xtract/xtract_scalar.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/xtract/xtract_scalar.h b/xtract/xtract_scalar.h
index 96834a0..ec286c9 100644
--- a/xtract/xtract_scalar.h
+++ b/xtract/xtract_scalar.h
@@ -71,8 +71,8 @@ int xtract_standard_deviation(const float *data, const int N, const void *argv,
* \param *argv: a pointer to a float representing the mean of the input vector
* \param *result: the average deviation of N values from the array pointed to by *data
*/
-/*int xtract_average_deviation(const float *data, const int N, const void *argv, float *result);
- */
+int xtract_average_deviation(const float *data, const int N, const void *argv, float *result);
+
/** \brief Extract the skewness of an input vector
*
@@ -127,7 +127,9 @@ int xtract_spectral_standard_deviation(const float *data, const int N, const voi
* \param *argv: a pointer to a float representing the spectral mean of the input spectrum
* \param *result: the average deviation of the spectrum pointed to by *data
*/
+/*
int xtract_spectral_average_deviation(const float *data, const int N, const void *argv, float *result);
+*/
/** \brief Extract the skewness of an input spectrum
*