From: jussi.koskela Date: Tue, 9 Sep 2014 11:13:14 +0000 (+0000) Subject: refs #5382 X-Git-Tag: v1.29.0~183 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=2cc492dc28f6e86d5ed6a95d226fcefdf3ef3d0c;p=simantics%2Fsysdyn.git refs #5382 Initial state incorrect after parameter update git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30237 ac1ea38d-2e2b-0410-8846-a27921b304fc --- diff --git a/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Solver.java b/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Solver.java index 7c988f90..4d083f77 100644 --- a/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Solver.java +++ b/fi.semantum.sysdyn.solver/src/fi/semantum/sysdyn/solver/Solver.java @@ -305,47 +305,51 @@ public class Solver { if(!started && dirty) { - // Solve all algebraic equations - Assignment[] assignments = model.assignmentArray; - for(int i=0;i