aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index 8a50e115..261761a0 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -152,11 +152,11 @@ static double sym_lookup_phase(const double *phases,
signed int he;
signed int ke;
signed int le;
- double f;
+ int f;
get_equiv(sym, NULL, i, h, k, l, &he, &ke, &le);
- f = (double)lookup_arr_flag(flags, he, ke, le);
+ f = lookup_arr_flag(flags, he, ke, le);
if ( f ) return lookup_arr_phase(phases, he, ke, le);