X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FdaComposant%2FdaAlgorithms%2FLinearLeastSquares.py;h=a4470be2ae4758837c5adeca0fe5ff6dae71556d;hb=a1b65e4f23cb823829f0ba5d9ca3696f3c44b801;hp=855d8a1e73274e367c30a31d45d6b85654452190;hpb=5fa5aa52fa87c7b1dfd81c77648065b7b0bb2dc6;p=modules%2Fadao.git diff --git a/src/daComposant/daAlgorithms/LinearLeastSquares.py b/src/daComposant/daAlgorithms/LinearLeastSquares.py index 855d8a1..a4470be 100644 --- a/src/daComposant/daAlgorithms/LinearLeastSquares.py +++ b/src/daComposant/daAlgorithms/LinearLeastSquares.py @@ -1,6 +1,6 @@ #-*-coding:iso-8859-1-*- # -# Copyright (C) 2008-2009 EDF R&D +# Copyright (C) 2008-2010 EDF R&D # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -23,16 +23,14 @@ __doc__ = """ """ __author__ = "Sophie RICCI, Jean-Philippe ARGAUD - Septembre 2008" -import sys ; sys.path.insert(0, "../daCore") import logging -import Persistence -from BasicObjects import Algorithm -import PlatformInfo ; m = PlatformInfo.SystemUsage() +from daCore import BasicObjects, PlatformInfo +m = PlatformInfo.SystemUsage() # ============================================================================== -class ElementaryAlgorithm(Algorithm): +class ElementaryAlgorithm(BasicObjects.Algorithm): def __init__(self): - Algorithm.__init__(self) + BasicObjects.Algorithm.__init__(self) self._name = "LINEARLEASTSQUARES" def run(self, Xb=None, Y=None, H=None, M=None, R=None, B=None, Q=None, Par=None):