aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/peaks.c2
-rw-r--r--src/indexamajig.c2
-rw-r--r--src/process_hkl.c1
3 files changed, 2 insertions, 3 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c
index 854db1d1..8e0acce7 100644
--- a/libcrystfel/src/peaks.c
+++ b/libcrystfel/src/peaks.c
@@ -417,7 +417,7 @@ static void search_peaks_in_panel(struct image *image, float threshold,
continue;
}
- if (intensity/sigma < min_snr) {
+ if ( intensity/sigma < min_snr ) {
nrej_snr++;
continue;
}
diff --git a/src/indexamajig.c b/src/indexamajig.c
index c770e53a..a742eb65 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -532,7 +532,7 @@ int main(int argc, char *argv[])
int config_basename = 0;
float threshold = 800.0;
float min_gradient = 100000.0;
- float min_snr = 5;
+ float min_snr = 5.0;
struct detector *det;
char *geometry = NULL;
IndexingMethod *indm;
diff --git a/src/process_hkl.c b/src/process_hkl.c
index 0d33cf02..f94ad4b8 100644
--- a/src/process_hkl.c
+++ b/src/process_hkl.c
@@ -163,7 +163,6 @@ static void merge_pattern(RefList *model, RefList *new, int max_only,
}
}
-
/* Increase redundancy */
int cur_redundancy = get_redundancy(model_version);
set_redundancy(model_version, cur_redundancy+1);