diff options
-rw-r--r-- | src/geometry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/geometry.c b/src/geometry.c index 07c49ecc..f58f21e1 100644 --- a/src/geometry.c +++ b/src/geometry.c @@ -318,7 +318,7 @@ static void select_scalable_reflections(RefList *list, ReflItemList *sc_l) get_indices(refl, &h, &k, &l); /* Should already be * asymmetric */ - if ( !find_item(sc_l, h, k, l) ) { + if ( (sc_l != NULL) && (!find_item(sc_l, h, k, l)) ) { add_item(sc_l, h, k, l); } |