diff options
Diffstat (limited to 'src/partialator.c')
-rw-r--r-- | src/partialator.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c index 286550f7..88dc0063 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -353,7 +353,9 @@ int main(int argc, char *argv[]) n_found++; get_asymm(h, k, l, &ha, &ka, &la, sym); - add_item(obs, ha, ka, la); + if ( find_item(obs, ha, ka, la) == 0 ) { + add_item(obs, ha, ka, la); + } new = add_refl(images[i].reflections, ha, ka, la); get_partial(refl, &r1, &r2, &p, &clamp1, &clamp2); get_detector_pos(refl, &x, &y); |