From 10545eafbcd969d1f76bf3d13ee3be488212e76a Mon Sep 17 00:00:00 2001 From: Dongho Kang Date: Tue, 16 Jan 2024 16:29:14 +0100 Subject: [PATCH] Remove unused "verbose" variable in BacktrackingLineSearch class. --- CMakeLists.txt | 6 +++--- include/ungar/optimization/backtracking_line_search.hpp | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fa528b6..6cec042 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -137,10 +137,10 @@ endif() if(UNGAR_INSTALL) include(GNUInstallDirs) - # Install library headers. + # Install Ungar headers. install(DIRECTORY include/ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - # Install library binaries. + # Install Ungar binaries. install( TARGETS ungar EXPORT ${PROJECT_NAME}Targets @@ -150,7 +150,7 @@ if(UNGAR_INSTALL) INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - # Install library configuration files. + # Install Ungar configuration files. include(CMakePackageConfigHelpers) configure_package_config_file( diff --git a/include/ungar/optimization/backtracking_line_search.hpp b/include/ungar/optimization/backtracking_line_search.hpp index 4e033b9..33a5e86 100644 --- a/include/ungar/optimization/backtracking_line_search.hpp +++ b/include/ungar/optimization/backtracking_line_search.hpp @@ -82,8 +82,7 @@ class BacktrackingLineSearch { const Eigen::MatrixBase<_SearchDirection>& dw, const Concepts::CostFunction<_W> auto& costFunction, const Concepts::ConstraintViolation<_W> auto& constraintViolation, - Eigen::MatrixBase<_W> const& w, - const bool verbose = false) const { + Eigen::MatrixBase<_W> const& w) const { UNGAR_ASSERT(costFunctionGradient.cols() == 1_idx); UNGAR_ASSERT(dw.cols() == 1_idx); UNGAR_ASSERT(costFunctionGradient.rows() == dw.rows());