aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-06 14:46:13 +0100
committerThomas White <taw@physics.org>2012-03-06 14:46:13 +0100
commit3710defb709b7ab33ae7849873c4fb62de96e138 (patch)
tree0c50ad73099324891826efb2bbfc33a8ec03d8a3 /src/diffraction.c
parent95f05d7d455c9bfd28af83b72dfeb47b77fca621 (diff)
Rename old array functions to get them out of the way of API consistency
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index d0413863..429931c2 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -120,8 +120,8 @@ static double sym_lookup_intensity(const double *intensities,
get_equiv(sym, NULL, i, h, k, l, &he, &ke, &le);
- f = (double)lookup_flag(flags, he, ke, le);
- val = lookup_intensity(intensities, he, ke, le);
+ f = (double)lookup_arr_flag(flags, he, ke, le);
+ val = lookup_arr_intensity(intensities, he, ke, le);
ret += f*val;
@@ -147,8 +147,8 @@ static double sym_lookup_phase(const double *phases,
get_equiv(sym, NULL, i, h, k, l, &he, &ke, &le);
- f = (double)lookup_flag(flags, he, ke, le);
- val = lookup_phase(phases, he, ke, le);
+ f = (double)lookup_arr_flag(flags, he, ke, le);
+ val = lookup_arr_phase(phases, he, ke, le);
ret += f*val;