diff options
Diffstat (limited to 'src')
-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 f3fb21c0..889ade51 100644 --- a/src/statistics.c +++ b/src/statistics.c @@ -109,7 +109,7 @@ static double internal_r2(const double *ref1, const unsigned int *c1, i1 = ref1[i] / (scale*(double)c1[i]); i2 = ref2[i] / (double)c2[i]; - top += pow(fabs(i1 - i2), 2.0); + top += pow(i1 - i2, 2.0); bot += pow(i1, 2.0); } /* else reflection not measured so don't worry about it */ |