mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #3559 from joakim-hove/wtest-config-empty
Use WellTestConfig.empty() instead of size()
This commit is contained in:
commit
6e37b9ae05
@ -381,7 +381,7 @@ namespace Opm {
|
|||||||
DeferredLogger& deferred_logger)
|
DeferredLogger& deferred_logger)
|
||||||
{
|
{
|
||||||
const auto& wtest_config = schedule()[timeStepIdx].wtest_config();
|
const auto& wtest_config = schedule()[timeStepIdx].wtest_config();
|
||||||
if (wtest_config.size() != 0) { // there is a WTEST request
|
if (!wtest_config.empty()) { // there is a WTEST request
|
||||||
const std::vector<std::string> wellsForTesting = wellTestState()
|
const std::vector<std::string> wellsForTesting = wellTestState()
|
||||||
.updateWells(wtest_config, wells_ecl_, simulationTime);
|
.updateWells(wtest_config, wells_ecl_, simulationTime);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user