aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/post-refinement.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index 1923ff4c..fba301e6 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -1066,6 +1066,14 @@ void refine_all(Crystal **crystals, int n_crystals,
task_defaults.prdata.n_filtered = 0;
task_defaults.no_scale = no_scale;
task_defaults.no_pr = no_pr;
+ task_defaults.prdata.initial_residual = 0.0;
+ task_defaults.prdata.initial_free_residual = 0.0;
+ task_defaults.prdata.initial_log_residual = 0.0;
+ task_defaults.prdata.initial_free_log_residual = 0.0;
+ task_defaults.prdata.final_residual = 0.0;
+ task_defaults.prdata.final_free_residual = 0.0;
+ task_defaults.prdata.final_log_residual = 0.0;
+ task_defaults.prdata.final_free_log_residual = 0.0;
qargs.task_defaults = task_defaults;
qargs.n_started = 0;