diff options
author | Thomas White <taw@physics.org> | 2011-05-10 16:06:51 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:25 +0100 |
commit | 334836244eca7cdca509815e0496f64fc5b9317a (patch) | |
tree | 895959358920aa02708acdd1e65056180322db94 | |
parent | edc3b1bda229d2516f19bcd697b6f2f89e258ecf (diff) |
Correct handling of scalability list
-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); } |