Skip to content

Commit

Permalink
Minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacarniato committed Dec 20, 2023
1 parent 6855073 commit 748f9ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/MeshKernel/src/Mesh2DGenerateGlobalGrid.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ std::unique_ptr<meshkernel::Mesh2D> meshkernel::Mesh2DGenerateGlobalGrid::Comput
currentLatitude += deltaLatitude;
}

const double mergingDistance = 1e-3;
constexpr double mergingDistance = 1e-3;
const std::vector<Point> polygon;
Polygons polygons(polygon, projection);
mesh2d->MergeNodesInPolygon(polygons, mergingDistance);
Expand Down

0 comments on commit 748f9ce

Please sign in to comment.