diff options
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/mosflm.c | 2 |
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; |