Skip to content

Commit

Permalink
Remove unused "verbose" variable in BacktrackingLineSearch class.
Browse files Browse the repository at this point in the history
  • Loading branch information
eastskykang authored and fdevinc committed Jan 16, 2024
1 parent ce7b1ef commit 10545ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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(
Expand Down
3 changes: 1 addition & 2 deletions include/ungar/optimization/backtracking_line_search.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 10545ea

Please sign in to comment.