Salome HOME
getAllTypes->getAllGeoTypes
authorageay <ageay>
Mon, 2 Dec 2013 08:28:05 +0000 (08:28 +0000)
committerageay <ageay>
Mon, 2 Dec 2013 08:28:05 +0000 (08:28 +0000)
src/MEDPartitioner/Test/MEDPARTITIONERTest.cxx

index 92143c936ac15915b1b2c1940994fc4b1e9aca0c..fe91ce4804579e23919889dceb73ff2ea74bfedc 100644 (file)
@@ -748,7 +748,7 @@ void MEDPARTITIONERTest::verifyTestMeshWithVecFieldOnNodes()
   string name=_file_name;
   name.replace(name.find(".med"),4,"_WithVecFieldOnNodes.med");
   MEDCouplingUMesh * m=MEDLoader::ReadUMeshFromFile(name.c_str(),_mesh_name.c_str(),0);
-  const std::set<INTERP_KERNEL::NormalizedCellType>& types=m->getAllTypes();
+  std::set<INTERP_KERNEL::NormalizedCellType> types(m->getAllGeoTypes());
   if (_verbose)
     {
       cout<<"\n types in "<<name<<" : ";