From cdd3a3a385f9539e85dec17bd84ec81ab8eb7e21 Mon Sep 17 00:00:00 2001 From: Anthony Blake Date: Wed, 31 Oct 2012 15:33:50 +1300 Subject: Modified API to make way for multi-dimensional transforms --- tests/test.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/test.c b/tests/test.c index deb1fbc..326e7e2 100644 --- a/tests/test.c +++ b/tests/test.c @@ -88,10 +88,10 @@ test_transform(int n, int sign) { input[2] = 1.0f; - ffts_plan_t *p = ffts_init(i, sign); + ffts_plan_t *p = ffts_init_1d(i, sign); if(p) { ffts_execute(p, input, output); - printf("%5d | %9d | %10E\n", sign, n, impulse_error(n, sign, output)); + printf(" %3d | %9d | %10E\n", sign, n, impulse_error(n, sign, output)); ffts_free(p); }else{ printf("Plan unsupported\n"); @@ -124,7 +124,7 @@ main(int argc, char *argv[]) { // input[2] = 1.0f; - ffts_plan_t *p = ffts_init(i, sign); + ffts_plan_t *p = ffts_init_1d(i, sign); if(p) { ffts_execute(p, input, output); for(i=0;i