aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2009-11-25 16:19:05 +0100
committerThomas White <taw@physics.org>2009-11-25 16:19:05 +0100
commit76cbb192f4abdd5f5c280cee964357c64364c783 (patch)
treeee643b3122cc168c9c6cdcbeb03ffeb8bfed69e7 /src/diffraction.c
parent36addbc39e3d1a9da88959b6c07af9438402b016 (diff)
Introduce integr_sim
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;
}