Skip to content

Commit

Permalink
OCC: small type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentcasseau committed Dec 11, 2024
1 parent 8f2bc01 commit 852d284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cassiopee/OCC/OCC/Atomic/meshEdge2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 852d284

Please sign in to comment.