From 7c54601d7794f6a297e4f14abd9f0dc8de7c1357 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Thu, 5 Apr 2012 16:22:47 +0200 Subject: [PATCH] Improvements of message or commentary --- src/daComposant/daAlgorithms/3DVAR.py | 4 ++-- src/daComposant/daAlgorithms/NonLinearLeastSquares.py | 4 ++-- src/daComposant/daCore/BasicObjects.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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): """ -- 2.39.2