aboutsummaryrefslogtreecommitdiffstats
path: root/test/main.c
diff options
context:
space:
mode:
authorDaniil Cherednik <dan.cherednik@gmail.com>2024-07-06 10:56:15 +0000
committerDaniil Cherednik <dan.cherednik@gmail.com>2024-07-06 10:56:15 +0000
commit41705edc6d36ad013cbcb171d53891f3c33764d8 (patch)
treec88a75ab8089720d0e354037d0585eb1d51af20a /test/main.c
parent311a633f24410ce3302526941b32639aa8869654 (diff)
downloadlibgha-41705edc6d36ad013cbcb171d53891f3c33764d8.tar.gz
Make possible to use double and own fft lib.HEADmaster
Projects which use the library may have own fft librray. Projects may use double precision floating point numbers.
Diffstat (limited to 'test/main.c')
-rw-r--r--test/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/main.c b/test/main.c
index c9725f0..6565ce1 100644
--- a/test/main.c
+++ b/test/main.c
@@ -1,5 +1,3 @@
-#include <include/libgha.h>
-
#include "common.h"
void usage(const char* selfname) {
@@ -24,7 +22,7 @@ int main(int argc, char** argv) {
gha_ctx_t ctx;
- float* buf = malloc(len * sizeof(float));
+ FLOAT* buf = malloc(len * sizeof(FLOAT));
if (!buf)
abort();