]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
fix comment
authoreap <eap@opencascade.com>
Thu, 8 Sep 2011 06:31:45 +0000 (06:31 +0000)
committereap <eap@opencascade.com>
Thu, 8 Sep 2011 06:31:45 +0000 (06:31 +0000)
src/MEDLoader/SauvWriter.cxx

index c842270cb080624088cbd63d00a96b3727b1ddfa..d02ac05fafaa93bf7da20ffa6b8e888a65f66b3c 100644 (file)
@@ -543,12 +543,12 @@ void SauvWriter::makeProfileIDs( SubMesh*                          sm,
       // profile on cells
       vector<int> code(3);
       code[0] = type;
-      if ( profile ) // on all cells
+      if ( profile ) // on profile
         {
           code[1] = profile->getNumberOfTuples();
           code[2] = 0;
         }
-      else
+      else // on all cells
         {
           code[1] = mesh->getNumberOfCellsWithType( type );
           code[2] = -1;