From: ageay Date: Wed, 20 Apr 2011 17:04:22 +0000 (+0000) Subject: Correcting of bug in FieldDouble::changeUnderlyingMesh. X-Git-Tag: EndWorkDidier~48 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6468ed7f9555578aca9b53c565f0b6e74d7ed01e;p=tools%2Fmedcoupling.git Correcting of bug in FieldDouble::changeUnderlyingMesh. --- diff --git a/src/MEDCoupling/MEDCouplingFieldDouble.cxx b/src/MEDCoupling/MEDCouplingFieldDouble.cxx index b9f457d36..09790aa7b 100644 --- a/src/MEDCoupling/MEDCouplingFieldDouble.cxx +++ b/src/MEDCoupling/MEDCouplingFieldDouble.cxx @@ -1092,7 +1092,7 @@ void MEDCouplingFieldDouble::changeUnderlyingMesh(const MEDCouplingMesh *other, if(_mesh==0 || other==0) throw INTERP_KERNEL::Exception("MEDCouplingFieldDouble::changeUnderlyingMesh : is expected to operate on not null meshes !"); DataArrayInt *cellCor,*nodeCor; - _mesh->checkGeoEquivalWith(other,levOfCheck,prec,cellCor,nodeCor); + other->checkGeoEquivalWith(_mesh,levOfCheck,prec,cellCor,nodeCor); if(cellCor) { renumberCellsWithoutMesh(cellCor->getConstPointer(),false);