mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-29 04:23:48 -06:00
Removing the param.has() if condition.
This commit is contained in:
parent
63c53096cd
commit
827cd7e8e4
@ -241,15 +241,9 @@ namespace {
|
||||
ADB::null(),
|
||||
ADB::null() } )
|
||||
{
|
||||
if (param.has("dp_max_rel")) {
|
||||
dp_max_rel_ = param.getDefault("dp_max_rel", dp_max_rel_);
|
||||
}
|
||||
if (param.has("ds_max")) {
|
||||
ds_max_ = param.getDefault("ds_max", ds_max_);
|
||||
}
|
||||
if (param.has("drs_max_rel")) {
|
||||
drs_max_rel_ = param.getDefault("drs_max_rel", drs_max_rel_);
|
||||
}
|
||||
dp_max_rel_ = param.getDefault("dp_max_rel", dp_max_rel_);
|
||||
ds_max_ = param.getDefault("ds_max", ds_max_);
|
||||
drs_max_rel_ = param.getDefault("drs_max_rel", drs_max_rel_);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user