aboutsummaryrefslogtreecommitdiff
path: root/src/intensities.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intensities.c')
-rw-r--r--src/intensities.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intensities.c b/src/intensities.c
index d5b3604c..edc15910 100644
--- a/src/intensities.c
+++ b/src/intensities.c
@@ -72,7 +72,7 @@ void output_intensities(struct image *image, UnitCell *cell)
int found = 0;
int j;
- q = image->qvecs[x + image->width*y];
+ q = image->qvecs[0][x + image->width*y];
hd = q.u * ax + q.v * ay + q.w * az;
kd = q.u * bx + q.v * by + q.w * bz;