aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/mosflm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index 262f20b2..fa8fb18b 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -222,7 +222,7 @@ static LatticeType spacegroup_to_lattice(const char *sg, char *ua, char *cen)
latt = L_HEXAGONAL;
*ua = 'c';
} else if ( sg[1] == '3' ) {
- if ( sg[0] == 'H' ) {
+ if ( (sg[0] == 'H') || (sg[0] == 'P') ) {
latt = L_HEXAGONAL;
*ua = 'c';
} else {