From: ageay Date: Fri, 17 Jan 2014 12:23:06 +0000 (+0000) Subject: The mesh sent was invalid but detected just now ! X-Git-Tag: V7_3_1b1^2~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=163096738d2017e9c130ec805fc02a6e8e929b0c;p=modules%2Fmed.git The mesh sent was invalid but detected just now ! --- diff --git a/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponent.cxx b/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponent.cxx index 8de2380c1..e5c4d7b19 100644 --- a/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponent.cxx +++ b/src/MEDCouplingCorba/Test/MEDCouplingMeshFieldFactoryComponent.cxx @@ -209,7 +209,7 @@ namespace SALOME_TEST std::copy(a2Data,a2Data+6,a2->getPointer()); // targetMesh->setCoordsAt(0,a1); - targetMesh->setCoordsAt(2,a2); + targetMesh->setCoordsAt(1,a2); // a1->decrRef(); a2->decrRef(); diff --git a/src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py b/src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py index be0107605..01289cf51 100644 --- a/src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py +++ b/src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py @@ -168,7 +168,7 @@ class MEDCouplingCorbaServBasicsTest: a2.setInfoOnComponent(0,"SmthZ"); # targetMesh.setCoordsAt(0,a1); - targetMesh.setCoordsAt(2,a2); + targetMesh.setCoordsAt(1,a2); # # targetMesh.checkCoherency();