]> gerrit.simantics Code Review - simantics/sysdyn.git/commit
Fixed NPE when initial equations are not defined for enumerated stocks. This is just...
authorvillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Sun, 8 Jun 2014 20:46:32 +0000 (20:46 +0000)
committervillberg <villberg@ac1ea38d-2e2b-0410-8846-a27921b304fc>
Sun, 8 Jun 2014 20:46:32 +0000 (20:46 +0000)
commitfdf112839298f331fde75a988dd2fee8a024d753
tree4165bfa85c6270ae5eb4dbbc64d9bc6c1c998fcf
parent987a8350a0a70c94e88dfbeb09927f054b0d7666
Fixed NPE when initial equations are not defined for enumerated stocks. This is just a work-around. Modelica code generation should be fixed to include the proper initial equations. Stocks are now initialized to 0.
refs #4932

git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@29598 ac1ea38d-2e2b-0410-8846-a27921b304fc
fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Derivate.java
fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Environment.java