From 2cc492dc28f6e86d5ed6a95d226fcefdf3ef3d0c Mon Sep 17 00:00:00 2001 From: "jussi.koskela" Date: Tue, 9 Sep 2014 11:13:14 +0000 Subject: [PATCH] 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 --- .../src/fi/semantum/sysdyn/solver/Solver.java | 78 ++++++++++--------- 1 file changed, 43 insertions(+), 35 deletions(-) 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