diff options
Diffstat (limited to 'libcrystfel/src/predict-refine.c')
-rw-r--r-- | libcrystfel/src/predict-refine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c index b871f43a..9b562fb0 100644 --- a/libcrystfel/src/predict-refine.c +++ b/libcrystfel/src/predict-refine.c @@ -257,7 +257,7 @@ static int pair_peaks(struct image *image, Crystal *cr, get_detector_pos(refl, &fs, &ss); pd = pow(fs - rps[i].peak->fs, 2.0) + pow(ss - rps[i].peak->ss, 2.0); - if ( pd > 10.0 * 10.0 ) continue; /* FIXME Hardcoded distance */ + if ( pd > 10.0 * 10.0 ) continue; /* FIXME Hardcoded distance (GitLab #38) */ rps[n_acc] = rps[i]; rps[n_acc].refl = reflection_new(h, k, l); |