Skip to content
Snippets Groups Projects
Verified Commit f2ddc4df authored by Liam Keegan's avatar Liam Keegan
Browse files

fix wrong input vector in solver.apply()

  - now uses `in` as initial state instead of `out`
  - previous behaviour was ok until commit aa186676 which changes `out` in between calls
parent bd441c84
No related branches found
No related tags found
1 merge request!25Resolve "Add simple adaptive timestepping"
Pipeline #29410 failed
......@@ -268,7 +268,7 @@ public:
// try & catch is the only way we have to check if the solver was successful
try {
solver.apply(in.time, dt, *x_out, *x_out);
solver.apply(in.time, dt, *x_in, *x_out);
solver.result(); // triggers an exception if solver failed
_logger.notice("Time Step: {:.2f}s + {:.2f}s -> {:.2f}s"_fmt,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment