Salome HOME
Merge from V7_2_BR 09/08/2013
[modules/smesh.git] / src / SMDS / SMDS_MeshNode.cxx
index 80bbf81c84a68f50461f0c76fe506357d3ce0d18..01a11840625771ba30dfa7db289590e15bddf3d7 100644 (file)
@@ -165,7 +165,7 @@ public:
             cellList.push_back(vtkId);
           }
       }
-    myCells = &cellList[0];
+    myCells = cellList.empty() ? 0 : &cellList[0];
     myNcells = cellList.size();
     //MESSAGE("myNcells="<<myNcells);
   }