Mercurial > dive4elements > river
changeset 6107:e296c05a0c5b
Revert 6081 now that determineGauge handles bordering river sections
author | Andre Heinecke <aheinecke@intevation.de> |
---|---|
date | Mon, 27 May 2013 15:03:00 +0200 |
parents | 776229dd5bf7 |
children | 7e3cd23f8671 |
files | artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.java Mon May 27 15:00:34 2013 +0200 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/services/MainValuesService.java Mon May 27 15:03:00 2013 +0200 @@ -79,7 +79,7 @@ } double[] minmax = getRequestedStartEnd(data, river); - Gauge gauge = river.maxOverlap(minmax[0], minmax[1]); + Gauge gauge = river.determineGauge(minmax[0], minmax[1]); if (gauge == null) { return error("no gauge found.");