Skip to content
Snippets Groups Projects
Commit 15e471e0 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix msvc compile

parent 320e8ae8
Branches
Tags
No related merge requests found
...@@ -651,10 +651,10 @@ void centroidOfPolygon(SPoint2 &pc, std::vector<SPoint2> &pts, ...@@ -651,10 +651,10 @@ void centroidOfPolygon(SPoint2 &pc, std::vector<SPoint2> &pts,
yc = x.y(); yc = x.y();
} }
double DocRecord::Lloyd(int type) double DocRecord::Lloyd(int type)
{ {
fullMatrix<double> cgs(numPoints,2); fullMatrix<double> cgs(numPoints,2);
double inertia_tot; double inertia_tot = 0.;
for(PointNumero i = 0; i < numPoints; i++) { for(PointNumero i = 0; i < numPoints; i++) {
PointRecord &pt = points[i]; PointRecord &pt = points[i];
std::vector<SPoint2> pts; std::vector<SPoint2> pts;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment