Do not compare signed with unsigned

This commit is contained in:
Magne Sjaastad
2017-08-11 16:17:40 +02:00
parent 0ba1746755
commit 3644f4eb76
2 changed files with 4 additions and 4 deletions

View File

@@ -464,7 +464,7 @@ std::vector<cvf::Vec3d> RigCellGeometryTools::ajustPolygonToAvoidIntersectionsAt
for (cvf::Vec3d polygonPoint : polygon)
{
for (int i = 0; i < polyLine.size() - 1; i++)
for (size_t i = 0; i < polyLine.size() - 1; i++)
{
cvf::Vec3d linePoint1(polyLine[i].x(), polyLine[i].y(), 0.0);
cvf::Vec3d linePoint2(polyLine[i + 1].x(), polyLine[i + 1].y(), 0.0);