aboutsummaryrefslogtreecommitdiff
path: root/src/partialator.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-06-05 16:49:45 +0200
committerThomas White <taw@physics.org>2019-06-05 16:53:10 +0200
commitbedd8dd7dc896775408e0badbbdb1768b28d8d74 (patch)
tree9ea48d13bfcc19c76d50c1c4424f7df48c3e7467 /src/partialator.c
parent3b30c23fd955980a98992a3212d1f2e78144701c (diff)
partialator: Parallelise deltaCChalf calculation
Diffstat (limited to 'src/partialator.c')
-rw-r--r--src/partialator.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 9de5276f..8287cb95 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -1462,7 +1462,8 @@ int main(int argc, char *argv[])
}
/* Check rejection and write figures of merit */
- check_rejection(crystals, n_crystals, full, max_B, no_deltacchalf);
+ check_rejection(crystals, n_crystals, full, max_B, no_deltacchalf,
+ nthreads);
show_all_residuals(crystals, n_crystals, full);
if ( do_write_logs ) {
@@ -1494,7 +1495,8 @@ int main(int argc, char *argv[])
push_res, 1, 0);
} /* else full still equals reference */
- check_rejection(crystals, n_crystals, full, max_B, no_deltacchalf);
+ check_rejection(crystals, n_crystals, full, max_B,
+ no_deltacchalf, nthreads);
show_all_residuals(crystals, n_crystals, full);
if ( do_write_logs ) {