Salome HOME
[bos #30879] EDF 25906 - typo in doc. Verbosity should be 0 to 10 and not 0 to 100.
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_Hypothesis_i.cxx
index ba89ba1981dd547dc8e8a1a28808e6222f685333..a38fb1e86feeb9780b3c7a9038313e1b8adb6dcf 100644 (file)
@@ -1045,7 +1045,7 @@ CORBA::Double BLSURFPlugin_Hypothesis_i::GetVolumeProximityRatio()
 //=============================================================================
 void BLSURFPlugin_Hypothesis_i::SetVerbosity(CORBA::Short theVal) {
   ASSERT(myBaseImpl);
-  if (theVal < 0 || theVal > 100)
+  if (theVal < 0 || theVal > 10)
     THROW_SALOME_CORBA_EXCEPTION( "Invalid verbosity level",SALOME::BAD_PARAM );
   this->GetImpl()->SetVerbosity(theVal);
   SMESH::TPythonDump() << _this() << ".SetVerbosity( " << theVal << " )";