diff --git a/multigrid/src/system.rs b/multigrid/src/system.rs index 3f65b7b..1ba6bd1 100644 --- a/multigrid/src/system.rs +++ b/multigrid/src/system.rs @@ -1123,7 +1123,8 @@ impl DistributedSystemPart { &mut self.t, self.dt, &mut self.k, - ) + ); + std::mem::swap(&mut self.current, &mut self.fut); } }