summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--attract.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/attract.c b/attract.c
index f4cb7b0..bd7717d 100644
--- a/attract.c
+++ b/attract.c
@@ -8,6 +8,10 @@
#include <assert.h>
#include "lodepng.h"
+#ifndef CMPLX
+#define CMPLX(r,i) ((r) + (i)*I)
+#endif
+
const int MAXITER=200;
const double EPS=1e-1;