aboutsummaryrefslogtreecommitdiff
path: root/src/powder_plot.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/powder_plot.c')
-rw-r--r--src/powder_plot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/powder_plot.c b/src/powder_plot.c
index b079a194..b1beb414 100644
--- a/src/powder_plot.c
+++ b/src/powder_plot.c
@@ -111,7 +111,7 @@ int main(int argc, char *argv[])
int intensity;
struct rvec r;
- r = get_q(&image, x, y, 1, NULL, 1.0/image.lambda);
+ r = get_q(&image, x, y, NULL, 1.0/image.lambda);
q = modulus(r.u, r.v, r.w);
intensity = image.data[x + image.width*y];