From: Anthony Geay Date: Tue, 24 Sep 2019 12:31:26 +0000 (+0200) Subject: Linear one was missing for integration into Persalys X-Git-Tag: V9_4_0~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7e5dab8d6b9b99c0abc129b7921edadc10b572c7;p=tools%2Fadao_interface.git Linear one was missing for integration into Persalys --- diff --git a/AdaoModelKeyVal.cxx b/AdaoModelKeyVal.cxx index b7b3aac..0c21832 100644 --- a/AdaoModelKeyVal.cxx +++ b/AdaoModelKeyVal.cxx @@ -159,6 +159,7 @@ std::shared_ptr EnumAlgoKeyVal::generateDftParameters() const switch(_enum) { case EnumAlgo::ThreeDVar: + case EnumAlgo::LinearLeastSquares: case EnumAlgo::NonLinearLeastSquares: { return templateForOthers(); @@ -180,6 +181,8 @@ std::string EnumAlgoKeyVal::getRepresentation() const return "3DVAR"; case EnumAlgo::NonLinearLeastSquares: return "NonLinearLeastSquares"; + case EnumAlgo::LinearLeastSquares: + return "LinearLeastSquares"; case EnumAlgo::Blue: return "Blue"; default: diff --git a/AdaoModelKeyVal.hxx b/AdaoModelKeyVal.hxx index f9c8132..372daaf 100644 --- a/AdaoModelKeyVal.hxx +++ b/AdaoModelKeyVal.hxx @@ -45,7 +45,8 @@ namespace AdaoModel { ThreeDVar, Blue, - NonLinearLeastSquares + NonLinearLeastSquares, + LinearLeastSquares }; class GenericKeyVal;