From 2b3529bf6a7149418c188ce8772f038d6558c86a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 26 Jan 2012 17:09:16 -0800 Subject: Silly bug in MOSFLM This has been around for about a year... --- libcrystfel/src/mosflm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3