aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-09-11 11:49:42 +0200
committerThomas White <taw@physics.org>2014-09-11 13:18:28 +0200
commitc1ad0d5ab47ccd3e4de84ec4e426c9370769764a (patch)
treef3b09606bdfc5373a194f9c9a027ab9b6577ad92 /src
parent0fda2abaf248a64a73f51bd5196f71ff2daf1b38 (diff)
Fix flag type
Diffstat (limited to 'src')
-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);