If Math.Abs(lineReg.CorrelationCoefficient) < serieValues.CorrCoeffMin Or Double.IsNaN(lineReg.CorrelationCoefficient) Then res = False s1 = serieValues.R2FailureMessageEng s2 = serieValues.R2FailureMessageRus End If