aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-05-03 10:16:05 +0200
committerThomas White <taw@physics.org>2013-05-03 10:16:05 +0200
commite21ae2673067741739b6c2cea818561be59924d4 (patch)
tree66b45716c1ef5d75f67a33cbb206dbba4ca054a1 /src
parent0897221e282cdfb66f79b9a9539be504574c2a14 (diff)
compare_hkl: Tidy up and update docs
Diffstat (limited to 'src')
-rw-r--r--src/compare_hkl.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 986b9617..193adfbb 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -83,7 +83,7 @@ static void show_help(const char *s)
"\n"
" -y, --symmetry=<sym> The symmetry of both the input files.\n"
" -p, --pdb=<filename> PDB file to use.\n"
-" --fom=<FoM> Calculate this figure of merit Choose from:.\n"
+" --fom=<FoM> Calculate this figure of merit Choose from:\n"
" R1I, R1F, R2, Rsplit, CC, CCstar, CCano.\n"
" --nshells=<n> Use <n> resolution shells.\n"
" -u Force scale factor to 1.\n"
@@ -1019,11 +1019,8 @@ int main(int argc, char *argv[])
Reflection *refl1_bij = NULL;
Reflection *refl2_bij = NULL;
signed int hb, kb, lb;
- int centric;
- centric = is_centric(h, k, l, sym);
-
- if ( centric ) {
+ if ( is_centric(h, k, l, sym) ) {
ncen++;
continue;
}