mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-15 23:21:56 -06:00
Merge pull request #5311 from blattms/fix/uninit-warn
Fixes uninitialized variable warning with gcc-12
This commit is contained in:
commit
d25c9d035f
@ -2344,7 +2344,7 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
const int max_iter = this->param_.max_inner_iter_wells_;
|
const int max_iter = this->param_.max_inner_iter_wells_;
|
||||||
int it = 0;
|
int it = 0;
|
||||||
bool converged;
|
bool converged = false;
|
||||||
bool relax_convergence = false;
|
bool relax_convergence = false;
|
||||||
this->regularize_ = false;
|
this->regularize_ = false;
|
||||||
const auto& summary_state = simulator.vanguard().summaryState();
|
const auto& summary_state = simulator.vanguard().summaryState();
|
||||||
|
Loading…
Reference in New Issue
Block a user