mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed mix of signed and unsigned value compare
This commit is contained in:
@@ -241,7 +241,7 @@ double RigCellGeometryTools::polygonAreaWeightedLength(cvf::Vec3d directionOfLen
|
||||
double totalArea = 0.0;
|
||||
double totalAreaXlength = 0.0;
|
||||
|
||||
for (int i = 0; i < areasOfPolygonContributions.size(); i++)
|
||||
for (size_t i = 0; i < areasOfPolygonContributions.size(); i++)
|
||||
{
|
||||
totalArea += areasOfPolygonContributions[i];
|
||||
totalAreaXlength += (areasOfPolygonContributions[i] * lengthOfPolygonContributions[i]);
|
||||
|
||||
Reference in New Issue
Block a user