aboutsummaryrefslogtreecommitdiff
path: root/src/get_hkl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/get_hkl.c')
-rw-r--r--src/get_hkl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/get_hkl.c b/src/get_hkl.c
index e298680d..00de38a5 100644
--- a/src/get_hkl.c
+++ b/src/get_hkl.c
@@ -270,10 +270,8 @@ static RefList *expand_reflections(RefList *in, const SymOpList *target,
signed int h, k, l;
int n, j;
- double intensity;
get_indices(refl, &h, &k, &l);
- intensity = get_intensity(refl);
special_position(initial, m, h, k, l);
n = num_equivs(initial, m);
@@ -298,7 +296,7 @@ static RefList *expand_reflections(RefList *in, const SymOpList *target,
/* FIXME: Make phase negative if the reflection is
* separated from the original via an inversion */
- get_phase(refl, &have_phase);
+ ph = get_phase(refl, &have_phase);
if ( have_phase ) set_phase(new, -ph);
}