aboutsummaryrefslogtreecommitdiff
path: root/examples/simpletest
diff options
context:
space:
mode:
authorJamie Bullock <jamie@postlude.co.uk>2010-08-23 11:28:39 +0000
committerJamie Bullock <jamie@postlude.co.uk>2010-08-23 11:28:39 +0000
commitd128e363fe30da5109d3344232ede924b62606ed (patch)
treedd89acc3f413b456f660ab8546b918ec1d08c2f2 /examples/simpletest
parent42b2b09b9146e7fd74233b9529c398fa11dd1ab1 (diff)
downloadLibXtract-d128e363fe30da5109d3344232ede924b62606ed.tar.gz
LibXtract-d128e363fe30da5109d3344232ede924b62606ed.tar.bz2
LibXtract-d128e363fe30da5109d3344232ede924b62606ed.zip
- Max example tweaks
- corrected output display in simpletest example
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 b17da16..6a83521 100644
--- a/examples/simpletest/simpletest.c
+++ b/examples/simpletest/simpletest.c
@@ -37,7 +37,7 @@ int main(void) {
xtract_init_fft(N, XTRACT_SPECTRUM);
xtract[XTRACT_SPECTRUM]((void *)&vector, N, &argf[0], (void *)&spectrum[0]);
- printf("\nThe mean of [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] = %.1f\n\n", mean);
+ printf("\nThe mean of [.1, .2, .3, .4, -.5, -.4, -.3, -.2, -.1] = %.1f\n\n", mean);
printf("\nResults of xtract_spectrum():\n");
for(n = 0; n < N; n++){