aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/mosflm.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2012-01-26 17:09:16 -0800
committerThomas White <taw@physics.org>2012-02-22 15:27:44 +0100
commit2b3529bf6a7149418c188ce8772f038d6558c86a (patch)
tree866a61a5eb2c9c1cf7286a88a502eb62bd25de72 /libcrystfel/src/mosflm.c
parentbab3cc6956628f0e078d2ceb0a77a19f1fb8386d (diff)
Silly bug in MOSFLM
This has been around for about a year...
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r--libcrystfel/src/mosflm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index 375d3f3f..67fa8ff1 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -211,7 +211,7 @@ static void write_spt(struct image *image, const char *filename)
height = f->intensity;
xs = (f->fs-p->min_fs)*p->fsx + (f->ss-p->min_ss)*p->ssx;
- ys = (f->ss-p->min_fs)*p->fsy + (f->ss-p->min_ss)*p->ssy;
+ ys = (f->fs-p->min_fs)*p->fsy + (f->ss-p->min_ss)*p->ssy;
rx = xs + p->cnx;
ry = ys + p->cny;