mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
correcting a bug in the initialization of the WellStateMultiSegment
a_ = a_ to initialize some member variables cause later segmentation fault.
This commit is contained in:
@@ -93,7 +93,7 @@ namespace Opm
|
||||
// TODO: making it better later
|
||||
np_ = np;
|
||||
nseg_ = nseg;
|
||||
nperf_ = nperf_;
|
||||
nperf_ = nperf;
|
||||
nwells_ = nw;
|
||||
|
||||
wellrates_.resize(nw * np, 0.0);
|
||||
|
||||
Reference in New Issue
Block a user