]> SALOME platform Git repositories - modules/smesh.git/commit
Salome HOME
- if ( theNbSegments )
authoreap <eap@opencascade.com>
Fri, 22 Jan 2010 11:34:11 +0000 (11:34 +0000)
committereap <eap@opencascade.com>
Fri, 22 Jan 2010 11:34:11 +0000 (11:34 +0000)
commit035f2b519d61c242c30546de21801ce10a871529
tree0adf1d5648eb570de6bf676fe94476af1a682ad4
parent890d47aa596bea11671e79d67541f509996b16a9
-  if ( theNbSegments )
+  if ( theNbSegments > 0 )
     myGen.SetDefaultNbSegments( int(theNbSegments) );
   else
     THROW_SALOME_CORBA_EXCEPTION( "non-positive number of segments", SALOME::BAD_PARAM );
src/SMESH_I/SMESH_Gen_i.cxx