aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-07-20 17:53:27 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:33 +0100
commitb143429764665a75dd3baf8c5115bf8553d18d71 (patch)
treeaee21b359e82c9c107e5f82de43c2d703c45538b /src/diffraction.c
parent012073a3be1bb523588b83d8be0589a5d00676aa (diff)
Symmetry stuff
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 aa04fd52..4133cd0b 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -100,14 +100,14 @@ static double sym_lookup_intensity(const double *intensities,
int i;
double ret = 0.0;
- for ( i=0; i<num_equivs(sym); i++ ) {
+ for ( i=0; i<num_equivs(sym, NULL); i++ ) {
signed int he;
signed int ke;
signed int le;
double f, val;
- get_equiv(sym, i, h, k, l, &he, &ke, &le);
+ 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);
@@ -127,14 +127,14 @@ static double sym_lookup_phase(const double *phases,
int i;
double ret = 0.0;
- for ( i=0; i<num_equivs(sym); i++ ) {
+ for ( i=0; i<num_equivs(sym, NULL); i++ ) {
signed int he;
signed int ke;
signed int le;
double f, val;
- get_equiv(sym, i, h, k, l, &he, &ke, &le);
+ 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);