diff flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java @ 747:65dcb5891206

ATWriter: Fixed array size to construct spline with stricly increasing values. flys-artifacts/trunk@2251 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 27 Jun 2011 13:58:03 +0000
parents 39d191f011dc
children 821aaceb2776
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Mon Jun 27 10:24:54 2011 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/exports/ATWriter.java	Mon Jun 27 13:58:03 2011 +0000
@@ -49,7 +49,7 @@
             return;
         }
 
-        double [] ws = new double[maxIndex+1];
+        double [] ws = new double[maxIndex];
         double [] qs = new double[ws.length];
 
         for (int i = 0; i < ws.length; ++i) {

http://dive4elements.wald.intevation.org