diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-04-05 15:49:37 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-04-05 15:49:37 +0200 |
commit | 6fba2e74c6b5c6f631a5c70da58fb5af25a7d389 (patch) | |
tree | 495daacf0457f759a254584afdb89f33e6b08939 | |
parent | 56563700df68816e8329b99f66ede5459cbbb23a (diff) |
Define CMLPX if not defined
-rw-r--r-- | attract.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |