Skip to content

Commit ae86449

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 3964f37 commit ae86449

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
@@ -1103,7 +1103,7 @@ double CDiagnostic::CalculateDiagnostic(CTimeSeriesABC *pTSMod,
11031103
double Beta = ModAvg / ObsAvg;
11041104
double Alpha = (fabs(ModStd) / fabs(ModAvg)) / (fabs(ObsStd) / fabs(ObsAvg)); // coefficient of vairability
11051105

1106-
if (_type==DIAG_KLING_GUPTA_DEVIATION_PRIME){Beta=1.0;} //remove penalty for difference in means}
1106+
if (_type==DIAG_KLING_GUPTA_DEVIATION_PRIME){Beta=1.0;} //remove penalty for difference in means}
11071107

11081108
if ((N>0) && ((ObsAvg!=0.0) || (Beta==1.0)) && (ObsStd!=0.0) && (ModStd!=0.0) && (ModAvg!=0.0))
11091109
{

0 commit comments

Comments
 (0)