Skip to content
Snippets Groups Projects
Commit d6eb7737 authored by Laurent Van Migroet's avatar Laurent Van Migroet
Browse files

warning fix msvc : ceil only accepts double

parent f9a66546
No related branches found
No related tags found
No related merge requests found
...@@ -1115,7 +1115,7 @@ bool GFaceCompound::parametrize_conformal() const ...@@ -1115,7 +1115,7 @@ bool GFaceCompound::parametrize_conformal() const
} }
MVertex *v1 = ordered[0]; MVertex *v1 = ordered[0];
MVertex *v2 = ordered[(int)ceil(ordered.size()/2)]; MVertex *v2 = ordered[(int)ceil((double)ordered.size()/2.)];
// MVertex *v2 ; // MVertex *v2 ;
// double maxSize = 0.0; // double maxSize = 0.0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment