]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Bug correction
authorageay <ageay>
Thu, 18 Oct 2012 14:33:23 +0000 (14:33 +0000)
committerageay <ageay>
Thu, 18 Oct 2012 14:33:23 +0000 (14:33 +0000)
src/INTERP_KERNEL/CellModel.cxx

index 13781012362e08ae725a3a00227935775738a433..08aac09df1845ba9106131e9a291edf066e30dac 100644 (file)
@@ -419,8 +419,8 @@ namespace INTERP_KERNEL
             else
               {
                 sonNodalConn[0]=nodalConn[sonId];
-                sonNodalConn[1]=nodalConn[(sonId+1)%lgth];
-                sonNodalConn[2]=nodalConn[sonId+lgth];
+                sonNodalConn[1]=nodalConn[(sonId+1)%lgth/2];
+                sonNodalConn[2]=nodalConn[sonId+lgth/2];
                 return 3;
               }
           }