From f50babd9d2ffad98f796e794787b52b05187be73 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Sun, 14 Oct 2018 21:06:03 +0200 Subject: [PATCH] Minor corrections --- src/daComposant/daCore/BasicObjects.py | 1 - src/daSalome/daYacsIntegration/daOptimizerLoop.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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): -- 2.39.2