Fixes uninitialized variable warning with gcc-12

This commit is contained in:
Markus Blatt 2024-04-25 09:26:31 +02:00
parent 1a222158c1
commit 87c4471f96

View File

@ -2337,7 +2337,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();