aboutsummaryrefslogtreecommitdiff
path: root/src/intensities.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-05 17:45:10 +0100
committerThomas White <taw@physics.org>2010-02-05 17:45:10 +0100
commitbd233188cce2c0f8203dd2a4c60eecd9abcb9bbf (patch)
treec4e054d0e959f693fbcf98d41a37bd61cad2de4c /src/intensities.c
parent32f0796c1906818edb1f7cbfe57c76290fd97d56 (diff)
Add (slow) bandwidth and multisampling
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;