From: Jean-Philippe ARGAUD Date: Sun, 14 Oct 2018 19:06:03 +0000 (+0200) Subject: Minor corrections X-Git-Tag: V9_2_0b_ok_ADAO~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f50babd9d2ffad98f796e794787b52b05187be73;p=modules%2Fadao.git Minor corrections --- diff --git a/src/daComposant/daCore/BasicObjects.py b/src/daComposant/daCore/BasicObjects.py index f45eda8..a6ebe42 100644 --- a/src/daComposant/daCore/BasicObjects.py +++ b/src/daComposant/daCore/BasicObjects.py @@ -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)): diff --git a/src/daSalome/daYacsIntegration/daOptimizerLoop.py b/src/daSalome/daYacsIntegration/daOptimizerLoop.py index 3a44bd2..14e5a22 100644 --- a/src/daSalome/daYacsIntegration/daOptimizerLoop.py +++ b/src/daSalome/daYacsIntegration/daOptimizerLoop.py @@ -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):