#3873 Create LGR : Use isCell instead of isValid

isCell evaluates the global grid cell index, and must be used before accessing the global cell index.
This commit is contained in:
Magne Sjaastad 2018-12-13 20:06:05 +01:00
parent f36d0eeee7
commit c2ddeb33aa

View File

@ -384,7 +384,7 @@ const RigVirtualPerforationTransmissibilities* RimEclipseCase::computeAndGetVirt
{
for (const auto& r : wellResultBranch.m_branchResultPoints)
{
if (r.isValid())
if (r.isCell())
{
RigCompletionData compData(
wellRes->m_wellName,