From: Jean-Philippe ARGAUD Date: Sun, 5 Mar 2017 11:53:40 +0000 (+0100) Subject: Documentation corrections and check improvement X-Git-Tag: V8_3_0rc1~23 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b311e433b162523faf00e9018df8b52d4147e19;p=modules%2Fadao.git Documentation corrections and check improvement --- diff --git a/doc/en/tui.rst b/doc/en/tui.rst index df82a5f..6aa00b9 100644 --- a/doc/en/tui.rst +++ b/doc/en/tui.rst @@ -635,12 +635,15 @@ The command set execution gives the following result:: As it should be in twin experiments, it is found that we get correctly the parameters that were used to artificially build the observations. -.. Réconciliation de courbes à l'aide de MedCoupling +.. Reconciliation de courbes a l'aide de MedCoupling .. +++++++++++++++++++++++++++++++++++++++++++++++++ .. Utilisation de fonctions de surveillance de type "observer" .. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +.. Equivalences entre l'interface graphique (GUI) et l'interface textuelle (TUI) +.. ----------------------------------------------------------------------------- + .. [HOMARD] For more information on HOMARD, see the *HOMARD module* and its integrated help available from the main menu *Help* of the SALOME platform. .. [PARAVIS] For more information on PARAVIS, see the *PARAVIS module* and its integrated help available from the main menu *Help* of the SALOME platform. diff --git a/doc/fr/tui.rst b/doc/fr/tui.rst index 1684f61..fae2554 100644 --- a/doc/fr/tui.rst +++ b/doc/fr/tui.rst @@ -674,6 +674,9 @@ param .. Utilisation de fonctions de surveillance de type "observer" .. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +.. Equivalences entre l'interface graphique (GUI) et l'interface textuelle (TUI) +.. ----------------------------------------------------------------------------- + .. [HOMARD] Pour de plus amples informations sur HOMARD, voir le *module HOMARD* et son aide intégrée disponible dans le menu principal *Aide* de l'environnement SALOME. .. [PARAVIS] Pour de plus amples informations sur PARAVIS, voir le *module PARAVIS* et son aide intégrée disponible dans le menu principal *Aide* de l'environnement SALOME. diff --git a/src/daComposant/daCore/BasicObjects.py b/src/daComposant/daCore/BasicObjects.py index 300e316..d5a55d0 100644 --- a/src/daComposant/daCore/BasicObjects.py +++ b/src/daComposant/daCore/BasicObjects.py @@ -582,6 +582,8 @@ class Covariance(object): self.__is_matrix = False self.__is_object = False if asEyeByScalar is not None: + if numpy.matrix(asEyeByScalar).size != 1: + raise ValueError(' The diagonal multiplier given to define a sparse matrix is not a unique scalar value.\n Its actual measured size is %i. Please check your scalar input.'%numpy.matrix(asEyeByScalar).size) self.__is_scalar = True self.__C = numpy.abs( float(asEyeByScalar) ) self.shape = (0,0) diff --git a/src/daSalome/daYacsIntegration/daOptimizerLoop.py b/src/daSalome/daYacsIntegration/daOptimizerLoop.py index 362eb9e..6a4d528 100644 --- a/src/daSalome/daYacsIntegration/daOptimizerLoop.py +++ b/src/daSalome/daYacsIntegration/daOptimizerLoop.py @@ -274,7 +274,7 @@ class AssimilationAlgorithm_asynch(SALOMERuntime.OptimizerAlgASync): self.tout = self.runtime.getTypeCode("SALOME_TYPES/ParametricOutput") self.pyobject = self.runtime.getTypeCode("pyobj") - # Absolument indispensable de définir ainsi "self.optim_hooks" + # Absolument indispensable de definir ainsi "self.optim_hooks" # (sinon on a une "Unknown Exception" sur l'attribut "finish") self.optim_hooks = OptimizerHooks(self)