aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-07-27 15:29:51 +0200
committerThomas White <taw@physics.org>2018-07-27 15:29:51 +0200
commitff1811d05af6435af21c51165951be7bd73920ce (patch)
tree29e5e9b68a8766eb2e36d5cebe645ba2d4e1bf4e
parentb1a6c7a794e922c8c0e7532fa23f85f6068e5e11 (diff)
partialator: Also generate logs when not doing post-refinement
-rw-r--r--src/partialator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partialator.c b/src/partialator.c
index 1d0881f3..13db0e3d 100644
--- a/src/partialator.c
+++ b/src/partialator.c
@@ -1366,7 +1366,7 @@ int main(int argc, char *argv[])
/* Check rejection and write figures of merit */
check_rejection(crystals, n_crystals, full, max_B);
show_all_residuals(crystals, n_crystals, full);
- if ( !no_pr && !no_logs ) {
+ if ( !(no_logs || (no_pr && pmodel == PMODEL_UNITY)) ) {
write_pgraph(full, crystals, n_crystals, 0, "");
write_logs_parallel(crystals, n_crystals, full, 0, nthreads,
scaleflags);