aboutsummaryrefslogtreecommitdiff
path: root/src/post-refinement.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/post-refinement.h')
-rw-r--r--src/post-refinement.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/post-refinement.h b/src/post-refinement.h
index b3509501..7f395013 100644
--- a/src/post-refinement.h
+++ b/src/post-refinement.h
@@ -57,15 +57,13 @@ enum prflag
extern const char *str_prflag(enum prflag flag);
extern void refine_all(Crystal **crystals, int n_crystals,
- RefList *full, int nthreads, PartialityModel pmodel,
- int no_scale, int no_pr, double max_B);
+ RefList *full, int nthreads, PartialityModel pmodel);
/* Exported so it can be poked by tests/pr_p_gradient_check */
extern double gradient(Crystal *cr, int k, Reflection *refl,
PartialityModel pmodel);
-extern void all_residuals(Crystal **crystals, int n_crystals, RefList *full,
- double *residual, double *free_residual,
- double *log_residual, double *free_log_residual);
+extern double residual(Crystal *cr, const RefList *full, int free,
+ int *pn_used, const char *filename);
#endif /* POST_REFINEMENT_H */