mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
not comparing guideRate_ with nullptr
it is not a pointer anymore since OPM/opm-simulators#3380
This commit is contained in:
parent
0cf158cd15
commit
b415cd4fb8
@ -1139,8 +1139,6 @@ getGuideRateValues(const Well& well) const
|
||||
{
|
||||
auto grval = data::GuideRateValue{};
|
||||
|
||||
assert (this->guideRate_ != nullptr);
|
||||
|
||||
const auto& wname = well.name();
|
||||
if (!this->wellState().hasWellRates(wname)) {
|
||||
// No flow rates for 'wname' -- might be before well comes
|
||||
@ -1221,8 +1219,6 @@ getGuideRateInjectionGroupValues(const Group& group) const
|
||||
{
|
||||
auto grval = data::GuideRateValue{};
|
||||
|
||||
assert (this->guideRate_ != nullptr);
|
||||
|
||||
const auto& gname = group.name();
|
||||
if (this->guideRate_.has(gname, Phase::GAS)) {
|
||||
grval.set(data::GuideRateValue::Item::Gas,
|
||||
|
Loading…
Reference in New Issue
Block a user