]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Correction of compilation error.
authorageay <ageay>
Thu, 15 Mar 2012 07:10:01 +0000 (07:10 +0000)
committerageay <ageay>
Thu, 15 Mar 2012 07:10:01 +0000 (07:10 +0000)
src/MEDPartitioner/MEDPARTITIONER_MeshCollection.cxx
src/MEDPartitioner/MEDPARTITIONER_ScotchGraph.cxx

index d3baf7cb6e4817667698b3c123a54db70e6d04f6..901e5f88f050fbf6b12122b664c72a1e7636ca52 100644 (file)
@@ -239,7 +239,6 @@ void MEDPARTITIONER::MeshCollection::castCellMeshes(MeshCollection& initialColle
           if (meshes.size()==0) 
             {
               _mesh[inew]=CreateEmptyMEDCouplingUMesh();
-              //throw INTERP_KERNEL::Exception(LOCALIZED("castCellMeshes fusing : no meshes"));
               std::cout << "WARNING : castCellMeshes fusing : no meshes try another number of processors" << std::endl;
             }
           else
@@ -1393,7 +1392,7 @@ MEDPARTITIONER::Topology* MEDPARTITIONER::MeshCollection::createPartition(int nb
         std::cout << "METISGraph" << std::endl;
       cellGraph=new METISGraph(array,edgeweights);
 #else
-      throw INTERP_KERNEL::Exception(LOCALIZED("METIS Graph is not available. Check your products, please."));
+      throw INTERP_KERNEL::Exception("METIS Graph is not available. Check your products, please.");
 #endif
       break;
     case Graph::SCOTCH:
@@ -1402,7 +1401,7 @@ MEDPARTITIONER::Topology* MEDPARTITIONER::MeshCollection::createPartition(int nb
         std::cout << "SCOTCHGraph" << std::endl;
       cellGraph=new SCOTCHGraph(array,edgeweights);
 #else
-      throw INTERP_KERNEL::Exception(LOCALIZED("SCOTCH Graph is not available. Check your products, please."));
+      throw INTERP_KERNEL::Exception("SCOTCH Graph is not available. Check your products, please.");
 #endif
       break;
     }
index 9493971630ebd4e18e9f2536e15feb5cedc4fc9b..7daa646526a47e31ac9da8f4ceb58e6fbeed8b1d 100644 (file)
@@ -109,6 +109,6 @@ void SCOTCHGraph::partGraph(int ndomain, const std::string& options_string, Para
   
   _partition = new MEDPARTITIONER::SkyLineArray(index,value);
 #else
-  throw INTERP_KERNEL::Exception(LOCALIZED("SCOTCH is not available. Check your products, please."));
+  throw INTERP_KERNEL::Exception("SCOTCH is not available. Check your products, please.");
 #endif
 }