Salome HOME
Intersection: renaming some variables and refactor to make the algo easier to read.
[tools/medcoupling.git] / doc / tutorial / atestMEDCouplingNumPy.rst
index c3641f1a542ee9ec76ea5372390bca565cbfdc99..0400b1763ac5c85975121f3e981928df81f41e20 100644 (file)
@@ -73,6 +73,6 @@ Playing with NumPy and SciPy
        mat = rem.getCrudeCSRMatrix()
        indptr = mc.DataArrayInt(mat.indptr)
        indptr2 = indptr.deltaShiftIndex()
-       cellIdsOfSkin = indptr2.getIdsEqual(1)
+       cellIdsOfSkin = indptr2.findIdsEqual(1)
        skin = skinAndNCFaces[cellIdsOfSkin]
        skin.writeVTK("skin.vtu")