From 752c92ea3adc1359042d6e925f0b2e848ec88404 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 1 Mar 2012 07:40:30 +0000 Subject: [PATCH] MEDCouplingUMesh::convertToPoly API modification. --- src/MEDLoader/Test/MEDLoaderTest.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.2