aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-09-29 17:29:27 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:38 +0100
commit36972a358fb091d4be716fae33237e3711f926ec (patch)
tree9dfac63234534a82aef5138ec62d3ff91b62045a /src/partialator.c
parentc61bb4faabafb8fd7d132a431a37057bee1cb109 (diff)
Fix stack corruption
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 06e23861..6b4719eb 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -492,7 +492,8 @@ int main(int argc, char *argv[])
/* Make initial estimates */
STATUS("Performing initial scaling.\n");
- full = scale_intensities(images, n_usable_patterns, reference);
+ full = scale_intensities(images, n_usable_patterns, reference,
+ nthreads);
sr = sr_titlepage(images, n_usable_patterns, "scaling-report.pdf",
infile, cmdline);
@@ -530,7 +531,7 @@ int main(int argc, char *argv[])
/* Re-estimate all the full intensities */
reflist_free(full);
full = scale_intensities(images, n_usable_patterns,
- reference);
+ reference, nthreads);
sr_iteration(sr, i+1, images, n_usable_patterns, full);