mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: resolve size ambiguity (Darwin)
This commit is contained in:
@ -144,8 +144,8 @@ void Foam::CV2D::insertSurfaceNearestPointPairs()
|
||||
label nSurfacePointsEst =
|
||||
min
|
||||
(
|
||||
number_of_vertices(),
|
||||
size_t(10*sqrt(scalar(number_of_vertices())))
|
||||
label(number_of_vertices()),
|
||||
label(10*sqrt(scalar(number_of_vertices())))
|
||||
);
|
||||
|
||||
DynamicList<point2D> nearSurfacePoints(nSurfacePointsEst);
|
||||
|
||||
Reference in New Issue
Block a user