Salome HOME
Intersection: renaming some variables and refactor to make the algo easier to read.
[tools/medcoupling.git] / doc / tutorial / medloader_advancedAPI1_fr.rst
index 074871f480c155a8488f57c1de03fd1d29868b34..cd5be33a85de688d1cefc72cacee66efdbb757bf 100644 (file)
@@ -31,7 +31,6 @@ Pour information, le module ``MEDCoupling`` complet est inclus dans ``MEDLoader`
 si ``MEDLoader`` a été chargé. ::
 
        import MEDLoader as ml
-       from MEDLoader import MEDLoader
 
 Lecture, écriture d'un maillage
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -181,7 +180,7 @@ Lire le champ ``fPart`` du fichier "TargetMesh2.med" et les identifiants de cell
 
        fMEDFileRead2 = ml.MEDFileField1TS("TargetMesh2.med",fPart.getName(),7,8)
        fPartRead, pflRead = fMEDFileRead2.getFieldWithProfile(ml.ON_CELLS,0,meshMEDFileRead)
-       print "Is the partial field correclty read?", fPartRead.isEqualWithoutConsideringStr(fPart.getArray(),1e-12)
+       print "Is the partial field correctly read?", fPartRead.isEqualWithoutConsideringStr(fPart.getArray(),1e-12)
        print "Is the list of cell identifiers matching?", pflRead.isEqualWithoutConsideringStr(pfl)
 
 Solution