Skip to content
Snippets Groups Projects
Commit 14324364 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile with OCE on Win32

parent a9922007
No related branches found
No related tags found
No related merge requests found
...@@ -476,7 +476,11 @@ static TopoDS_Edge MakeDegenAndSelect(const TopoDS_Edge& CE, ...@@ -476,7 +476,11 @@ static TopoDS_Edge MakeDegenAndSelect(const TopoDS_Edge& CE,
if ( ! CV.IsSame( TopExp::FirstVertex( E , Standard_True ))) if ( ! CV.IsSame( TopExp::FirstVertex( E , Standard_True )))
continue; continue;
NE = E; NE = E;
#if defined(WIN32) // fix for OCE on win32
dUmin = dU + (dU+1e-12);
#else
dUmin = dU + Epsilon(dU); dUmin = dU + Epsilon(dU);
#endif
U2 = USeq(i); U2 = USeq(i);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment