Swap solutions to propagate the solution

This commit is contained in:
Magnus Ulimoen 2021-08-18 10:32:29 +00:00
parent a843ad9974
commit d6356da393
1 changed files with 2 additions and 1 deletions

View File

@ -1123,7 +1123,8 @@ impl DistributedSystemPart {
&mut self.t, &mut self.t,
self.dt, self.dt,
&mut self.k, &mut self.k,
) );
std::mem::swap(&mut self.current, &mut self.fut);
} }
} }