From 163096738d2017e9c130ec805fc02a6e8e929b0c Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 17 Jan 2014 12:23:06 +0000 Subject: [PATCH] The mesh sent was invalid but detected just now ! --- .../Test/MEDCouplingMeshFieldFactoryComponent.cxx | 2 +- src/MEDCouplingCorba_Swig/MEDCouplingCorbaSwigTest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.39.2