From: Jean-Philippe ARGAUD Date: Thu, 5 Apr 2012 14:22:47 +0000 (+0200) Subject: Improvements of message or commentary X-Git-Tag: V6_5_0~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7c54601d7794f6a297e4f14abd9f0dc8de7c1357;p=modules%2Fadao.git Improvements of message or commentary --- diff --git a/src/daComposant/daAlgorithms/3DVAR.py b/src/daComposant/daAlgorithms/3DVAR.py index 6210227..9031667 100644 --- a/src/daComposant/daAlgorithms/3DVAR.py +++ b/src/daComposant/daAlgorithms/3DVAR.py @@ -249,8 +249,8 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): logging.debug("%s %s Nb of F = %s"%(self._name, Minimizer, nfeval)) logging.debug("%s %s RetCode = %s"%(self._name, Minimizer, rc)) # - # Calcul de l'analyse - # -------------------- + # Obtention de l'analyse + # ---------------------- Xa = numpy.asmatrix(Minimum).T logging.debug("%s Analyse Xa = %s"%(self._name, Xa)) # diff --git a/src/daComposant/daAlgorithms/NonLinearLeastSquares.py b/src/daComposant/daAlgorithms/NonLinearLeastSquares.py index 6040f07..2578225 100644 --- a/src/daComposant/daAlgorithms/NonLinearLeastSquares.py +++ b/src/daComposant/daAlgorithms/NonLinearLeastSquares.py @@ -245,8 +245,8 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): logging.debug("%s %s Nb of F = %s"%(self._name, Minimizer, nfeval)) logging.debug("%s %s RetCode = %s"%(self._name, Minimizer, rc)) # - # Calcul de l'analyse - # -------------------- + # Obtention de l'analyse + # ---------------------- Xa = numpy.asmatrix(Minimum).T logging.debug("%s Analyse Xa = %s"%(self._name, Xa)) # diff --git a/src/daComposant/daCore/BasicObjects.py b/src/daComposant/daCore/BasicObjects.py index 4f5a216..cdfa091 100644 --- a/src/daComposant/daCore/BasicObjects.py +++ b/src/daComposant/daCore/BasicObjects.py @@ -92,7 +92,7 @@ class Operator: if self.__Matrix is not None: return self.__Matrix else: - raise ValueError("Matrix form of the operator is not available") + raise ValueError("Matrix form of the operator is not available but is required") def shape(self): """