Merge pull request #5311 from blattms/fix/uninit-warn

Fixes uninitialized variable warning with gcc-12
This commit is contained in:
Bård Skaflestad 2024-04-25 10:34:05 +02:00 committed by GitHub
commit d25c9d035f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2344,7 +2344,7 @@ namespace Opm
{
const int max_iter = this->param_.max_inner_iter_wells_;
int it = 0;
bool converged;
bool converged = false;
bool relax_convergence = false;
this->regularize_ = false;
const auto& summary_state = simulator.vanguard().summaryState();