From 76de27f4459595459d58a27dcfb0eab48e36bbb5 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 26 Feb 2010 13:19:09 +0000 Subject: [PATCH] Correct bug found by Matthieu. --- src/MEDCoupling/MEDCouplingMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDCoupling/MEDCouplingMesh.cxx b/src/MEDCoupling/MEDCouplingMesh.cxx index 47349b3f1..a9f5d37fd 100644 --- a/src/MEDCoupling/MEDCouplingMesh.cxx +++ b/src/MEDCoupling/MEDCouplingMesh.cxx @@ -32,7 +32,7 @@ bool MEDCouplingMesh::areCompatible(const MEDCouplingMesh *other) const { if(getMeshDimension()!=other->getMeshDimension()) return false; - if(getSpaceDimension()!=other->getMeshDimension()) + if(getSpaceDimension()!=other->getSpaceDimension()) return false; return true; } -- 2.39.2