]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/pmml/PMMLlib.cxx
Salome HOME
Fix salome test when both py2 & py3 are available.
[modules/yacs.git] / src / pmml / PMMLlib.cxx
index e708ca8c980e7b72539947bad651156f21f8acca..9f22fa620d30c96b65c73ef7b23d0d481cbbb452 100644 (file)
@@ -2044,7 +2044,7 @@ std::string PMMLlib::ExportNeuralNetworkPyStr(std::string functionName,
     fillVectorsForExport(nInput,nOutput,nHidden,normType,minInput,maxInput,minOutput,maxOutput,valW);
 
     // Shebang et imports
-    out << "#!/usr/bin/env python" << endl;
+    out << "#!/usr/bin/env python3" << endl;
     out << "# -*- coding: utf-8 -*-" << endl;
     out << endl;
     out << "from math import tanh, exp" << endl;
@@ -2814,7 +2814,7 @@ std::string PMMLlib::ExportLinearRegressionPyStr(std::string functionName,
     ostringstream out;
     
     // Shebang et imports
-    out << "#!/usr/bin/env python" << endl;
+    out << "#!/usr/bin/env python3" << endl;
     out << "# -*- coding: utf-8 -*-" << endl;
     out << endl;