mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Next iteration.
This commit is contained in:
@@ -30,7 +30,7 @@ Vec3Type GeometryTools::computePolygonCenter(const std::vector<Vec3Type>& polygo
|
||||
{
|
||||
Vec3Type s;
|
||||
|
||||
for (int i = 0; i < polygon.size(); i++)
|
||||
for (size_t i = 0; i < polygon.size(); i++)
|
||||
{
|
||||
s.x() += polygon[i].x();
|
||||
s.y() += polygon[i].y();
|
||||
|
||||
Reference in New Issue
Block a user