Mercurial > gemma
changeset 3764:ad93adaeb688 v3.1-preview20190626
Section/Stretch avail: Fixed classification interval calculation.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 26 Jun 2019 17:19:30 +0200 |
parents | a1bb7c894058 |
children | 750df9c6bbdf |
files | pkg/controllers/stretches.go |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/controllers/stretches.go Wed Jun 26 14:17:18 2019 +0200 +++ b/pkg/controllers/stretches.go Wed Jun 26 17:19:30 2019 +0200 @@ -540,13 +540,13 @@ for _, bn := range loaded { l := bn.measurements.classify( - from, to, + res.from, res.to, bn.ldc, (*availMeasurement).getValue, ) b := bn.measurements.classify( - from, to, + res.from, res.to, bn.breaks, bn.access, )