Line data Source code
1 : #include "LineSearchMethod.h" 2 : 3 : namespace elsa 4 : { 5 : template <typename data_t> 6 : LineSearchMethod<data_t>::LineSearchMethod(const Functional<data_t>& problem, 7 : index_t max_iterations) 8 : : _problem(problem.clone()), _max_iterations{max_iterations} 9 164 : { 10 164 : } 11 : 12 : // ------------------------------------------ 13 : // explicit template instantiation 14 : template class LineSearchMethod<float>; 15 : template class LineSearchMethod<double>; 16 : 17 : } // namespace elsa