Swap solutions to propagate the solution
This commit is contained in:
parent
a843ad9974
commit
d6356da393
|
@ -1123,7 +1123,8 @@ impl DistributedSystemPart {
|
|||
&mut self.t,
|
||||
self.dt,
|
||||
&mut self.k,
|
||||
)
|
||||
);
|
||||
std::mem::swap(&mut self.current, &mut self.fut);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue