aboutsummaryrefslogtreecommitdiff
path: root/examples/simpletest
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2006-10-24 08:55:44 +0000
committerJamie Bullock <jamie@postlude.co.uk>2006-10-24 08:55:44 +0000
commit85ce7491a7671b6e9d7e1c60ddb31556b5bf23ca (patch)
tree5503a1fffa08ecb5583c41faf049117d843cf665 /examples/simpletest
parente8dbc32c6c6124aa4a7b6a1ce8ebed6ae6402d5e (diff)
downloadLibXtract-85ce7491a7671b6e9d7e1c60ddb31556b5bf23ca.tar.gz
LibXtract-85ce7491a7671b6e9d7e1c60ddb31556b5bf23ca.tar.bz2
LibXtract-85ce7491a7671b6e9d7e1c60ddb31556b5bf23ca.zip
Minor simpletest fix
Diffstat (limited to 'examples/simpletest')
-rw-r--r--examples/simpletest/simpletest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/simpletest/simpletest.c b/examples/simpletest/simpletest.c
index a65d846..1ba066f 100644
--- a/examples/simpletest/simpletest.c
+++ b/examples/simpletest/simpletest.c
@@ -24,7 +24,7 @@ int main() {
float mean = 0, vector[] = {1, 2, 3};
- xtract[MEAN]((void *)&vector, 6, NULL, (void *)&mean);
+ xtract[MEAN]((void *)&vector, 3, NULL, (void *)&mean);
printf("\nThe mean of [1, 2, 3] = %.1f\n\n", mean);