Swap solutions to propagate the solution
This commit is contained in:
1 parent
a843ad9974
commit
d6356da393
1 file changed
+2
-1
@@ -1123,7 +1123,8 @@ impl DistributedSystemPart {
|
||||
&mut self.t,
|
||||
self.dt,
|
||||
&mut self.k,
|
||||
)
|
||||
);
|
||||
std::mem::swap(&mut self.current, &mut self.fut);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user