From 517aae78dd303464c12d0d6d1b50c3fd3e84e411 Mon Sep 17 00:00:00 2001 From: Jean-Philippe ARGAUD Date: Fri, 5 Jul 2013 15:29:33 +0200 Subject: [PATCH] Improving textual information --- src/daComposant/daAlgorithms/LinearLeastSquares.py | 2 +- src/daComposant/daNumerics/ApproximatedDerivatives.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/daComposant/daAlgorithms/LinearLeastSquares.py b/src/daComposant/daAlgorithms/LinearLeastSquares.py index da092c5..5812df0 100644 --- a/src/daComposant/daAlgorithms/LinearLeastSquares.py +++ b/src/daComposant/daAlgorithms/LinearLeastSquares.py @@ -63,7 +63,7 @@ class ElementaryAlgorithm(BasicObjects.Algorithm): # # Calcul de la matrice de gain et de l'analyse # -------------------------------------------- - K = (Ha * RI * Hm ).I * Ha * RI + K = (Ha * RI * Hm).I * Ha * RI Xa = K * Y self.StoredVariables["Analysis"].store( Xa.A1 ) # diff --git a/src/daComposant/daNumerics/ApproximatedDerivatives.py b/src/daComposant/daNumerics/ApproximatedDerivatives.py index 3a01ad9..35a96d0 100644 --- a/src/daComposant/daNumerics/ApproximatedDerivatives.py +++ b/src/daComposant/daNumerics/ApproximatedDerivatives.py @@ -108,7 +108,7 @@ class FDApproximation: if self.__avoidRC: if self.__lenghtRH < 0: self.__lenghtRH = 2 * _X.size if len(self.__listDPCP) > self.__lenghtRH: - logging.debug("FDA Réduction de la liste de H à la taille %i"%self.__lenghtRH) + logging.debug("FDA Réduction de la liste de H à %i éléments"%self.__lenghtRH) self.__listDPCP.pop(0) self.__listDPCR.pop(0) self.__listDPCN.pop(0) @@ -211,7 +211,7 @@ class FDApproximation: if self.__avoidRC: if self.__lenghtRJ < 0: self.__lenghtRJ = 2 * _X.size if len(self.__listJPCP) > self.__lenghtRJ: - logging.debug("FDA Réduction de la liste de J à la taille %i"%self.__lenghtRJ) + logging.debug("FDA Réduction de la liste de J à %i éléments"%self.__lenghtRJ) self.__listJPCP.pop(0) self.__listJPCI.pop(0) self.__listJPCR.pop(0) -- 2.39.2