diff options
-rw-r--r-- | src/post-refinement.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c index e65ecf9e..b11ad57e 100644 --- a/src/post-refinement.c +++ b/src/post-refinement.c @@ -503,7 +503,7 @@ static void do_pr_refine(Crystal *cr, const RefList *full, int r; double G; double residual_start, residual_free_start; - const int write_logs = 1; + int write_logs = 1; FILE *fh = NULL; try_reindex(cr, full); @@ -516,6 +516,8 @@ static void do_pr_refine(Crystal *cr, const RefList *full, residual_start, residual_free_start); } + if ( serial % 20 ) write_logs = 0; + /* The parameters to be refined */ rv[n_params++] = GPARAM_ANG1; rv[n_params++] = GPARAM_ANG2; |