aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-11-28 17:23:28 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:42 +0100
commit83d7ce243a4443083fb614f5019b9b9ca2c74539 (patch)
tree1dfff92d1d5efdb45e5428d306e27e10e43bd6f2 /src
parenteca7577d9cf8b1fc13005c75e01fa5fa0e3efb48 (diff)
Fussiness (extreme)
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);