aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c2
-rw-r--r--src/process_hkl.c1
2 files changed, 1 insertions, 2 deletions
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);