X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FStdMeshers%2FStdMeshers_Adaptive1D.cxx;h=bd5d9580a3cb8d0327c95dbc0509ec9420a82a98;hp=d7ea4c3024cc828b44274b5d9e512390528d844a;hb=bba2ceaf86d0a48fb0b256801edeb2418b0f93ce;hpb=18a8413e3b8006ff34c84259b823761b198c91ba diff --git a/src/StdMeshers/StdMeshers_Adaptive1D.cxx b/src/StdMeshers/StdMeshers_Adaptive1D.cxx index d7ea4c302..bd5d9580a 100644 --- a/src/StdMeshers/StdMeshers_Adaptive1D.cxx +++ b/src/StdMeshers/StdMeshers_Adaptive1D.cxx @@ -1317,9 +1317,9 @@ bool AdaptiveAlgo::Compute(SMESH_Mesh & theMesh, if ( iLoop > 20 ) { -#ifdef _DEBUG_ - cout << "Infinite loop in AdaptiveAlgo::Compute()" << endl; -#endif + if(SALOME::VerbosityActivated()) + cout << "Infinite loop in AdaptiveAlgo::Compute()" << endl; + sizeDecreased = false; break; }