diff options
-rw-r--r-- | include/ffts.h | 3 | ||||
-rw-r--r-- | tests/test.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/ffts.h b/include/ffts.h index f150a6f..4ea454e 100644 --- a/include/ffts.h +++ b/include/ffts.h @@ -43,7 +43,7 @@ extern "C" { #endif /* __cplusplus */ - +/* typedef size_t transform_index_t; struct _ffts_plan_t { ptrdiff_t *offsets; @@ -61,6 +61,7 @@ struct _ffts_plan_t { size_t transform_size; void *constants; }; +*/ typedef struct _ffts_plan_t ffts_plan_t; diff --git a/tests/test.c b/tests/test.c index fd0fa15..324238c 100644 --- a/tests/test.c +++ b/tests/test.c @@ -59,8 +59,8 @@ main(int argc, char *argv[]) { } ffts_plan_t *p = ffts_init(i, sign); if(p) { - - p->transform(p, input, output); + + ffts_execute(p, input, output); for(i=0;i<n;i++) printf("%d %f %f\n", i, output[2*i], output[2*i+1]); ffts_free(p); |