Skip to content

Commit

Permalink
Merge pull request #233 from vincentcasseau/main
Browse files Browse the repository at this point in the history
OCC: small type fix in i8
  • Loading branch information
vincentcasseau authored Dec 11, 2024
2 parents 8f2bc01 + 852d284 commit e101702
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 e101702

Please sign in to comment.