diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQCKms.java @ 4821:bcf25d8c183e

Moved NaN removal code from W to DoubleUtil. Create QKms when calculating the 'Umhuellende'.
author Sascha L. Teichmann <teichmann@intevation.de>
date Mon, 21 Jan 2013 14:03:22 +0100
parents 5642a83420f2
children
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQCKms.java	Mon Jan 21 12:49:44 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WQCKms.java	Mon Jan 21 14:03:22 2013 +0100
@@ -1,5 +1,7 @@
 package de.intevation.flys.artifacts.model;
 
+import de.intevation.flys.utils.DoubleUtil;
+
 import gnu.trove.TDoubleArrayList;
 
 /**
@@ -32,7 +34,7 @@
 
     @Override
     public void removeNaNs() {
-        removeNaNs(new TDoubleArrayList [] { ws, qs, cws, kms });
+        DoubleUtil.removeNaNs(new TDoubleArrayList [] { ws, qs, cws, kms });
     }
 
     /**

http://dive4elements.wald.intevation.org