]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
MEDCouplingUMesh::convertToPoly API modification.
authorageay <ageay>
Thu, 1 Mar 2012 07:40:30 +0000 (07:40 +0000)
committerageay <ageay>
Thu, 1 Mar 2012 07:40:30 +0000 (07:40 +0000)
src/MEDLoader/Test/MEDLoaderTest.cxx

index 323fa31fdca0d257f185a6a609ae9facf8c8d293..9f95d27ac955590d05467ce331f3ea046ae7398a 100644 (file)
@@ -572,7 +572,7 @@ void MEDLoaderTest::testMultiFieldShuffleRW1()
   CPPUNIT_ASSERT_EQUAL(45,m->getNumberOfNodes());
   const int polys[3]={1,4,6};
   std::vector<int> poly2(polys,polys+3);
-  m->convertToPolyTypes(poly2);
+  m->convertToPolyTypes(&poly2[0],&poly2[0]+poly2.size());
   const int renum[20]={1,3,2,8,9,12,13,16,19,0,4,7,5,15,14,17,10,18,6,11};
   m->renumberCells(renum,false);
   m->orientCorrectlyPolyhedrons();