mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-07-07 04:53:03 -05:00
WellGroupHelpers: use appropriate Scalar type
This commit is contained in:
parent
db2db4bab5
commit
5ed5676f32
|
@ -802,7 +802,7 @@ updateGpMaintTargetForGroups(const Group& group,
|
|||
} else {
|
||||
gpm->resetState(gpmaint_state);
|
||||
}
|
||||
group_state.update_gpmaint_target(group.name(), std::max(0.0, sign * rate));
|
||||
group_state.update_gpmaint_target(group.name(), std::max(Scalar{0.0}, sign * rate));
|
||||
}
|
||||
|
||||
template<class Scalar>
|
||||
|
|
Loading…
Reference in New Issue
Block a user