aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/image.h')
-rw-r--r--src/image.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/image.h b/src/image.h
index 68c8fa13..3f67e973 100644
--- a/src/image.h
+++ b/src/image.h
@@ -18,6 +18,7 @@
#define IMAGE_H
#include <stdint.h>
+#include <complex.h>
/* How is the scaling of the image described? */
@@ -80,7 +81,7 @@ struct molecule
struct image {
uint16_t *data;
- double *sfacs;
+ complex *sfacs;
struct threevec *qvecs;
double *twotheta;
struct molecule *molecule;