diff gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java @ 354:0970d9a7d65e

Upgraded to Apache Commons Math 2.0. gnv-artifacts/trunk@427 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 15 Dec 2009 14:12:58 +0000
parents e964a3d8f7bc
children 59ad8f37a590
line wrap: on
line diff
--- a/gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java	Tue Dec 15 10:31:16 2009 +0000
+++ b/gnv-artifacts/src/main/java/de/intevation/gnv/statistics/TimeseriesStatistics.java	Tue Dec 15 14:12:58 2009 +0000
@@ -81,7 +81,7 @@
                 break2 = row.getString("GROUP2");
                 break3 = row.getString("GROUP3");
                 lRegression = new SimpleRegression();
-                lStatistics = DescriptiveStatistics.newInstance();
+                lStatistics = new DescriptiveStatistics();
                 while (resultIterator.hasNext()) {
 
                     if (!break1.equals(row.getString("GROUP1"))

http://dive4elements.wald.intevation.org