aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2014-06-25 16:01:51 +0200
committerThomas White <taw@physics.org>2014-06-25 16:01:51 +0200
commitcf34597c5f8583f68eaad22d85c849e1050c922b (patch)
tree4bf919b7591cc6f701157bb48885238e4b3afbfc /src
parentdef8bd0c541252e7f606c9286912eb67d3ac5929 (diff)
Pass the partiality model down from the API level
Diffstat (limited to 'src')
-rw-r--r--src/partial_sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index fa68638f..862eadef 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -352,7 +352,7 @@ static void run_job(void *vwargs, int cookie)
snprintf(wargs->image.filename, 255, "dummy.h5");
}
- reflections = find_intersections(&wargs->image, cr);
+ reflections = find_intersections(&wargs->image, cr, PMODEL_SPHERE);
crystal_set_reflections(cr, reflections);
for ( i=0; i<NBINS; i++ ) {