(#438) Made sure that the well log extractor returns positive values for TVD

This commit is contained in:
Pål Hagen 2015-09-10 16:19:00 +02:00
parent 7ba23a7f18
commit b841af62bb

View File

@ -115,7 +115,7 @@ void RigEclipseWellLogExtractor::calculateIntersection()
while (it != sortedIntersections.end())
{
m_measuredDepth.push_back(it->first.measuredDepth);
m_trueVerticalDepth.push_back(it->second.m_intersectionPoint[2]);
m_trueVerticalDepth.push_back(abs(it->second.m_intersectionPoint[2]));
m_intersections.push_back(it->second.m_intersectionPoint);
m_intersectedCells.push_back(it->second.m_hexIndex);
m_intersectedCellFaces.push_back(it->second.m_face);