mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-04 21:27:04 -06:00
Janitor : Remove duplicated code
This commit is contained in:
1 parent
9d58769f89
commit
098fda9816
5 files changed
+19
-12
No files matched your search
@@ -103,9 +103,7 @@ bool RimSimWellInViewTools::isInjector( RimSimWellInView* well )
|
||||
{
|
||||
const RigWellResultFrame* wrf = wRes->wellResultFrame( currentTimeStep );
|
||||
|
||||
if ( wrf->m_productionType == RiaDefines::WellProductionType::OIL_INJECTOR ||
|
||||
wrf->m_productionType == RiaDefines::WellProductionType::GAS_INJECTOR ||
|
||||
wrf->m_productionType == RiaDefines::WellProductionType::WATER_INJECTOR )
|
||||
if ( RiaDefines::isInjector( wrf->m_productionType ) )
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user