From: ageay Date: Thu, 1 Mar 2012 07:40:30 +0000 (+0000) Subject: MEDCouplingUMesh::convertToPoly API modification. X-Git-Tag: V6_main_FINAL~809 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=752c92ea3adc1359042d6e925f0b2e848ec88404;p=tools%2Fmedcoupling.git MEDCouplingUMesh::convertToPoly API modification. --- diff --git a/src/MEDLoader/Test/MEDLoaderTest.cxx b/src/MEDLoader/Test/MEDLoaderTest.cxx index 323fa31fd..9f95d27ac 100644 --- a/src/MEDLoader/Test/MEDLoaderTest.cxx +++ b/src/MEDLoader/Test/MEDLoaderTest.cxx @@ -572,7 +572,7 @@ void MEDLoaderTest::testMultiFieldShuffleRW1() CPPUNIT_ASSERT_EQUAL(45,m->getNumberOfNodes()); const int polys[3]={1,4,6}; std::vector 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();