Merge pull request #5446 from atgeirr/fix-uninitialized-member

Initialize member for WellState serialization test constructor.
This commit is contained in:
Bård Skaflestad 2024-06-27 15:28:31 +02:00 committed by GitHub
commit 0267a3612f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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});