diff options
author | Thomas White <taw@physics.org> | 2014-09-11 11:49:42 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-11 13:18:28 +0200 |
commit | c1ad0d5ab47ccd3e4de84ec4e426c9370769764a (patch) | |
tree | f3b09606bdfc5373a194f9c9a027ab9b6577ad92 | |
parent | 0fda2abaf248a64a73f51bd5196f71ff2daf1b38 (diff) |
Fix flag type
-rw-r--r-- | src/diffraction.c | 4 |
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); |