diff options
author | Thomas White <taw@physics.org> | 2010-07-02 15:03:26 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:26:52 +0100 |
commit | ec2040a6bfee076fe277a634acd5fab6e35727d1 (patch) | |
tree | 98578fcb83547e9bb17210232d78a1390e308ada /src/statistics.c | |
parent | c90c7d72537f140c1c1d1214e0ad0788cef5eb86 (diff) |
Fix R-factor calculation
Diffstat (limited to 'src/statistics.c')
-rw-r--r-- | src/statistics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statistics.c b/src/statistics.c index 406f1f56..b1589ebe 100644 --- a/src/statistics.c +++ b/src/statistics.c @@ -62,7 +62,7 @@ double stat_r2(const double *ref1, const unsigned int *c1, double i1, i2; i1 = ref1[i] / (scale*(double)c1[i]); - i2 = ref2[i] / (scale*(double)c2[i]); + i2 = ref2[i] / (double)c2[i]; top += pow(fabs(i1 - i2), 2.0); bot += pow(i1, 2.0); |