mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-18 21:43:27 -06:00
[fixup] Use the correct function.
This should have been in the las commit and should be added there before merging.
This commit is contained in:
parent
50aba2c8f6
commit
a35b2f2b7c
@ -196,7 +196,7 @@ namespace Opm
|
|||||||
Vector b(opA.getmat().N());
|
Vector b(opA.getmat().N());
|
||||||
std::copy(rhs, rhs+b.size(), b.begin());
|
std::copy(rhs, rhs+b.size(), b.begin());
|
||||||
// Make rhs consistent in the parallel case
|
// Make rhs consistent in the parallel case
|
||||||
comm.copyOwnerToOverlap(b,b);
|
comm.copyOwnerToAll(b,b);
|
||||||
// System solution
|
// System solution
|
||||||
Vector x(opA.getmat().M());
|
Vector x(opA.getmat().M());
|
||||||
x = 0.0;
|
x = 0.0;
|
||||||
|
Loading…
Reference in New Issue
Block a user