aboutsummaryrefslogtreecommitdiff
path: root/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-17 10:02:23 +0100
committerThomas White <taw@physics.org>2009-11-17 10:02:23 +0100
commit924736e50cf25baacb22bebbddf28a4f60194af5 (patch)
tree5b0c922d899ca3803ba2633c4c7ef7f277563f8c /src/image.h
parent73d3559d7fac9b258ae84954ab08369b9fe10c10 (diff)
Work in progress
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;