mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
avoid unused variable warning with NDEBUG
This commit is contained in:
parent
cf169167d0
commit
2630522d7f
@ -630,8 +630,7 @@ namespace Opm
|
|||||||
DeferredLogger& deferred_logger)
|
DeferredLogger& deferred_logger)
|
||||||
{
|
{
|
||||||
const auto& well_name = this->name();
|
const auto& well_name = this->name();
|
||||||
const auto& summary_state = ebos_simulator.vanguard().summaryState();
|
assert(this->wellHasTHPConstraints(ebos_simulator.vanguard().summaryState()));
|
||||||
assert(this->wellHasTHPConstraints(summary_state));
|
|
||||||
const auto& schedule = ebos_simulator.vanguard().schedule();
|
const auto& schedule = ebos_simulator.vanguard().schedule();
|
||||||
auto report_step_idx = ebos_simulator.episodeIndex();
|
auto report_step_idx = ebos_simulator.episodeIndex();
|
||||||
const auto& glo = schedule.glo(report_step_idx);
|
const auto& glo = schedule.glo(report_step_idx);
|
||||||
|
Loading…
Reference in New Issue
Block a user