aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diffraction.c')
-rw-r--r--src/diffraction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/diffraction.c b/src/diffraction.c
index e2d0061a..6351042d 100644
--- a/src/diffraction.c
+++ b/src/diffraction.c
@@ -93,7 +93,7 @@ static double complex molecule_factor(struct molecule *mol, struct threevec q,
k = (signed int)rint(kd);
l = (signed int)rint(ld);
- r = get_integral(mol->reflections, h, k, l);
+ r = lookup_sfac(mol->reflections, h, k, l);
return r;
}