Mercurial > gemma
changeset 3092:7dc9660df743
Fixed c&p sign error in Nash Sutcliffe calculation.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Tue, 23 Apr 2019 10:12:31 +0200 |
parents | cec9d4af5f03 |
children | fd14f149696c |
files | pkg/controllers/gauges.go |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/controllers/gauges.go Tue Apr 23 10:10:54 2019 +0200 +++ b/pkg/controllers/gauges.go Tue Apr 23 10:12:31 2019 +0200 @@ -563,7 +563,7 @@ cs := make([]coeff, 3) for i := range cs { cs[i].Hours = (i + 1) * 24 - delta := -time.Duration(-cs[i].Hours) * time.Hour + delta := -time.Duration(cs[i].Hours) * time.Hour for j := range values { when := values[j].when.Add(delta)