From 17363d2b870c88db108984a9a59d79c12d677e93 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Tue, 9 Oct 2018 11:13:22 +0800 Subject: Fix warnings about unused arguments Credit: https://stackoverflow.com/a/21731447 --- methods/powell/powell_method.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'methods/powell') diff --git a/methods/powell/powell_method.hpp b/methods/powell/powell_method.hpp index 228a526..a80f3da 100644 --- a/methods/powell/powell_method.hpp +++ b/methods/powell/powell_method.hpp @@ -226,10 +226,10 @@ namespace opt_utilities return start_point; } - void do_set_lower_limit(const array1d_type& p) + void do_set_lower_limit(const array1d_type&) {} - void do_set_upper_limit(const array1d_type& p) + void do_set_upper_limit(const array1d_type&) {} void do_set_precision(rT t) -- cgit v1.2.2