From 3f8ab3da1cbca9ab821dfa8608bfb7389b99739f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 9 Sep 2014 10:38:56 +0200 Subject: pattern_sim: Fix handling of centric reflections --- src/diffraction.c | 8 +++----- src/pattern_sim.c | 11 ++++++++--- 2 files changed, 11 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/diffraction.c b/src/diffraction.c index 6383a8b4..8a50e115 100644 --- a/src/diffraction.c +++ b/src/diffraction.c @@ -146,25 +146,23 @@ static double sym_lookup_phase(const double *phases, signed int h, signed int k, signed int l) { int i; - double ret = 0.0; for ( i=0; i