aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-11-13 11:04:56 +0100
committerThomas White <taw@physics.org>2015-11-13 11:04:56 +0100
commitc92244e212ea7c678ea6d070a0bc79f48bcbf6e2 (patch)
treee024417bd92f546b3dd9ed88380285e16b4589ca
parent0596ddd5133d977f168d889fca157d319822ef30 (diff)
Fussiness/add a FIXME
-rw-r--r--libcrystfel/src/predict-refine.c2
-rw-r--r--src/rejection.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c
index 135002c9..113e9c7c 100644
--- a/libcrystfel/src/predict-refine.c
+++ b/libcrystfel/src/predict-refine.c
@@ -287,7 +287,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;
+ if ( pd > 10.0 * 10.0 ) continue; /* FIXME Hardcoded distance */
rps[n_acc] = rps[i];
rps[n_acc].refl = reflection_new(h, k, l);
diff --git a/src/rejection.c b/src/rejection.c
index fbee6f72..e9496932 100644
--- a/src/rejection.c
+++ b/src/rejection.c
@@ -165,7 +165,6 @@ static void check_ccs(Crystal **crystals, int n_crystals, RefList *full)
}
-
static void show_duds(Crystal **crystals, int n_crystals)
{
int j;