aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-06-26 16:56:55 +0200
committerThomas White <taw@physics.org>2019-07-17 09:22:23 +0200
commit587034d5aebb3c1d89d17e2ee139c06526b14840 (patch)
treed60e90338ad1b2781b975f2ff341a9fd63de2026 /src
parentfc1e3f86973a9203c89a1eb2d9676a74cabfa553 (diff)
Don't re-scale when calculating FoM during PR
Diffstat (limited to 'src')
-rw-r--r--src/post-refinement.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/post-refinement.c b/src/post-refinement.c
index b781d395..3a9dba2c 100644
--- a/src/post-refinement.c
+++ b/src/post-refinement.c
@@ -188,10 +188,6 @@ static double calc_residual(struct rf_priv *pv, struct rf_alteration alter,
update_predictions(pv->cr_tgt);
calculate_partialities(pv->cr_tgt, PMODEL_XSPHERE);
- if ( scale_one_crystal(pv->cr_tgt, pv->full, pv->scaleflags) ) {
- //STATUS("Bad scaling\n");
- return NAN;
- }
return residual(pv->cr_tgt, pv->full, free, NULL, NULL);
}