aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 16:14:25 +0100
committerCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 16:14:25 +0100
commit6da7b7f8aff35afddaaf075a7009345cc0544673 (patch)
treec16ba64105716fd62deccd4873045fd342708e44 /libcrystfel
parent37747e4e80d98a0c8d2e1baa32c9524608009536 (diff)
XDS.INP trials
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/xds.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c
index a70caaf5..e749eef6 100644
--- a/libcrystfel/src/xds.c
+++ b/libcrystfel/src/xds.c
@@ -400,8 +400,7 @@ static const char *spacegroup_for_lattice(UnitCell *cell)
break;
case L_MONOCLINIC :
- if ( centering != 'P' )
- {
+ if ( centering != 'P' ) {
g = "3";
} else {
g = "5";
@@ -452,7 +451,7 @@ static const char *spacegroup_for_lattice(UnitCell *cell)
}
assert(g != NULL);
- return 0;
+ return g;
}