From 852d28496bf9a61ed02946d2a456912d380dad24 Mon Sep 17 00:00:00 2001 From: vincentcasseau Date: Wed, 11 Dec 2024 10:55:51 +0100 Subject: [PATCH] OCC: small type fix --- Cassiopee/OCC/OCC/Atomic/meshEdge2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cassiopee/OCC/OCC/Atomic/meshEdge2.cpp b/Cassiopee/OCC/OCC/Atomic/meshEdge2.cpp index 72be50b92..26ac63d04 100644 --- a/Cassiopee/OCC/OCC/Atomic/meshEdge2.cpp +++ b/Cassiopee/OCC/OCC/Atomic/meshEdge2.cpp @@ -994,7 +994,7 @@ E_Int __getParamHminHmaxHausd3(const TopoDS_Edge& E, E_Float hmin, E_Float hmax, Nf = 1./integ; N = std::rint(Nf); - N = std::max(N, 2); + N = std::max(N, E_Int(2)); //printf("N= %d, Nf = %g\n", N, Nf);