Loading src/TNL/Solvers/Optimization/GradientDescent.h +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ namespace TNL { template< typename Vector, typename SolverMonitor = IterativeSolverMonitor< typename Vector::RealType, typename Vector::IndexType > > class GradientDescent : public IterativeSolver< typename Vector::RealType, typename Vector::IndexType, SolverMonitor > { public: using RealType = typename Vector::RealType; using DeviceType = typename Vector::DeviceType; using IndexType = typename Vector::IndexType; Loading src/TNL/Solvers/Optimization/GradientDescent.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ GradientDescent< Vector, SolverMonitor >:: configSetup( Config::ConfigDescription& config, const String& prefix ) { IterativeSolver< RealType, IndexType, SolverMonitor >::configSetup( config, prefix ); config.addEntry< double >( prefix + "gd-relaxation", "Relaxation parameter for the gradient descent.", 1.0 ) config.addEntry< double >( prefix + "gd-relaxation", "Relaxation parameter for the gradient descent.", 1.0 ); } template< typename Vector, typename SolverMonitor > Loading Loading
src/TNL/Solvers/Optimization/GradientDescent.h +1 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ namespace TNL { template< typename Vector, typename SolverMonitor = IterativeSolverMonitor< typename Vector::RealType, typename Vector::IndexType > > class GradientDescent : public IterativeSolver< typename Vector::RealType, typename Vector::IndexType, SolverMonitor > { public: using RealType = typename Vector::RealType; using DeviceType = typename Vector::DeviceType; using IndexType = typename Vector::IndexType; Loading
src/TNL/Solvers/Optimization/GradientDescent.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ GradientDescent< Vector, SolverMonitor >:: configSetup( Config::ConfigDescription& config, const String& prefix ) { IterativeSolver< RealType, IndexType, SolverMonitor >::configSetup( config, prefix ); config.addEntry< double >( prefix + "gd-relaxation", "Relaxation parameter for the gradient descent.", 1.0 ) config.addEntry< double >( prefix + "gd-relaxation", "Relaxation parameter for the gradient descent.", 1.0 ); } template< typename Vector, typename SolverMonitor > Loading