Skip to content

Commit 4c8e30e

Browse files
committed
updated Diagnostics.cpp bug for PCT_PDIFF
1 parent e137c47 commit 4c8e30e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Diagnostics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ double CDiagnostic::CalculateDiagnostic(CTimeSeriesABC *pTSMod,
674674
}
675675
if (N > 0.0)
676676
{
677-
return (100.0 * maxMod - maxObs)/maxObs;
677+
return (100.0 * ((maxMod - maxObs)/maxObs));
678678
}
679679
else
680680
{

0 commit comments

Comments
 (0)