From 43e19c11232ed1222a583076dcea262dd80258a3 Mon Sep 17 00:00:00 2001 From: Henning Stahlke Date: Wed, 10 May 2017 16:27:46 +0200 Subject: [PATCH] YASim: revert a change in Model.cpp that caused segfaults on some systems. --- src/FDM/YASim/Model.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FDM/YASim/Model.cpp b/src/FDM/YASim/Model.cpp index 4ca6d95da..a5d442fe4 100644 --- a/src/FDM/YASim/Model.cpp +++ b/src/FDM/YASim/Model.cpp @@ -168,7 +168,7 @@ void Model::iterate() void Model::setState(State* s) { _integrator.setState(s); - _s = s; + _s = _integrator.getState(); }