]> SALOME platform Git repositories - modules/adao.git/commitdiff
Salome HOME
Minor corrections
authorJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Sun, 14 Oct 2018 19:06:03 +0000 (21:06 +0200)
committerJean-Philippe ARGAUD <jean-philippe.argaud@edf.fr>
Sun, 14 Oct 2018 19:06:03 +0000 (21:06 +0200)
src/daComposant/daCore/BasicObjects.py
src/daSalome/daYacsIntegration/daOptimizerLoop.py

index f45eda809e86869ceca96cc404390c02063e43da..a6ebe423ce36f9599b84f2e41526eae533a8761d 100644 (file)
@@ -1291,7 +1291,6 @@ class State(object):
                 if isinstance(__Series, str): __Series = eval(__Series)
                 for member in __Series:
                     self.__V.store( numpy.matrix( numpy.asmatrix(member).A1, numpy.float ).T )
-                import sys ; sys.stdout.flush()
             else:
                 self.__V = __Series
             if isinstance(self.__V.shape, (tuple, list)):
index 3a44bd2330e9f04bc39434f85d1b07447d1b536c..14e5a220e30e197d8d231daa3c6cd4647b57de93 100644 (file)
@@ -450,7 +450,7 @@ class AssimilationAlgorithm_asynch(SALOMERuntime.OptimizerAlgASync):
         self.da_study.YI_prepare_to_pickle()
         return pickle.dumps(self.da_study)
     else:
-        return pickle.dumps(self.da_study.getResults().prepare_to_pickle())
+        return pickle.dumps(self.da_study.YI_prepare_to_pickle())
 
   # Obligatoire ???
   def finish(self):