]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Correct bug found by Matthieu.
authorageay <ageay>
Fri, 26 Feb 2010 13:19:09 +0000 (13:19 +0000)
committerageay <ageay>
Fri, 26 Feb 2010 13:19:09 +0000 (13:19 +0000)
src/MEDCoupling/MEDCouplingMesh.cxx

index 47349b3f15c73b769302af5817bf630e2d5124f6..a9f5d37fdbf4fe5fe6ca0f3c7b3e451aaa751929 100644 (file)
@@ -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;
 }