From: villberg Date: Mon, 28 Apr 2014 08:20:21 +0000 (+0000) Subject: Fixed some bugs encountered in Strada-model X-Git-Tag: 1.8.1~77 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=5662c37092ddd90d704ca591ec8e19f4e0c823e9;p=simantics%2Fsysdyn.git Fixed some bugs encountered in Strada-model refs #4765 git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29370 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Variable.java b/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Variable.java index a461894e..ae686ced 100644 --- a/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Variable.java +++ b/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Variable.java @@ -189,7 +189,6 @@ public class Variable implements IExpression { @Override public Object evaluate(IEnvironment environment) { Object result = base.evaluate(environment, subscripts); - if(result == null) System.err.println("returned null for " + base.name); return result; }