aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-02-20 03:11:29 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:15 +0100
commit941556dbe66c7f13f0659ebdc139344193eb3e7c (patch)
tree12ddd2a8b252bbfda158930f89042789cc0b6523 /src/pattern_sim.c
parentc52293a3634d447893c081cd1074a2cef293449d (diff)
s/min_x/min_fs/ and so on
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 326ce362..fe6a8f0d 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -471,8 +471,8 @@ int main(int argc, char *argv[])
free(beamfile);
/* Define image parameters */
- image.width = image.det->max_x + 1;
- image.height = image.det->max_y + 1;
+ image.width = image.det->max_fs + 1;
+ image.height = image.det->max_ss + 1;
image.lambda = ph_en_to_lambda(eV_to_J(image.beam->photon_energy));
/* Load unit cell */