mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Merge pull request #5446 from atgeirr/fix-uninitialized-member
Initialize member for WellState serialization test constructor.
This commit is contained in:
commit
0267a3612f
@ -129,7 +129,7 @@ namespace Opm {
|
||||
|
||||
template<class Scalar>
|
||||
WellState<Scalar>::WellState(const ParallelWellInfo<Scalar>& pinfo)
|
||||
: phase_usage_{}
|
||||
: phase_usage_{{BlackoilPhases::Aqua, BlackoilPhases::Liquid}}
|
||||
{
|
||||
wells_.add("test4",
|
||||
SingleWellState<Scalar>{"dummy", pinfo, false, 0.0, {}, phase_usage_, 0.0});
|
||||
|
Loading…
Reference in New Issue
Block a user