Fix invalid compare

This commit is contained in:
Magne Sjaastad
2018-01-12 10:20:09 +01:00
parent 402a2607c4
commit 337310c497

View File

@@ -315,7 +315,7 @@ void RiuViewerCommands::displayContextMenu(QMouseEvent* event)
RimWellPath* wellPath = wellPathSourceInfo->wellPath();
if (wellPath)
{
if (firstPartTriangleIndex != cvf::UNDEFINED_SIZE_T)
if (firstPartTriangleIndex != cvf::UNDEFINED_UINT)
{
double measuredDepth = wellPathSourceInfo->measuredDepth(firstPartTriangleIndex, m_currentPickPositionInDomainCoords);
cvf::Vec3d trueVerticalDepth = wellPathSourceInfo->trueVerticalDepth(firstPartTriangleIndex, globalIntersectionPoint);