X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshersGUI%2FStdMeshersGUI_DistrPreview.cxx;h=7eb2f33484b97daa5729fcdb4ff5b7b893dc90cc;hp=e6aaa288954c561904f524a93d9495c6ce955db5;hb=20d9e162bd67182cbfa841bbfc9319919f4703e3;hpb=65c1beab50fcec33a4e988c10b3fedb081543164 diff --git a/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.cxx b/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.cxx index e6aaa2889..7eb2f3348 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_DistrPreview.cxx @@ -310,7 +310,7 @@ void StdMeshersGUI_DistrPreview::update() if ( std::fabs(y[i]) >= HUGE_VAL) y[i] = HUGE_VAL/100.; #else - if ( isinf(y[i])) + if ( std::isinf(y[i])) y[i] = std::numeric_limits::max()/100.; #endif // if ( y[i] > 1e3 )