]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
toujours la surcharge de math
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 25 Nov 2014 10:29:01 +0000 (10:29 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 25 Nov 2014 10:29:01 +0000 (10:29 +0000)
src/EFICASGUI/eficasSalome.py

index 9b521833a5ee6e02dafb2f81c1de497691fe18e6..02f78fa17305b15125b72b69285f8a295291e315 100644 (file)
@@ -117,14 +117,15 @@ class MyEficas( qtEficas.Appli ):
           Numeric = numpy
 
         from Extensions.param2 import originalMath
-        Numeric.cos=originalMath.numeric_ncos
-        Numeric.sin=originalMath.numeric_nsin
-        Numeric.array=originalMath.numeric_narray
-        math.sin=originalMath.sin
-        math.cos=originalMath.cos
-        math.sqrt=originalMath.sqrt
-        math.ceil=originalMath.ceil
-        math.pi=originalMath.pi
+        #Numeric.cos=originalMath.numeric_ncos
+        #Numeric.sin=originalMath.numeric_nsin
+        #Numeric.array=originalMath.numeric_narray
+        #math.sin=originalMath.sin
+        #math.cos=originalMath.cos
+        #math.sqrt=originalMath.sqrt
+        #math.ceil=originalMath.ceil
+        #math.pi=originalMath.pi
+        originalMath.toOriginal()
 
         global appli
         appli = None