aboutsummaryrefslogtreecommitdiffstats
path: root/methods/powell
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-10-09 11:13:22 +0800
committerAaron LI <aly@aaronly.me>2018-10-09 11:13:22 +0800
commit17363d2b870c88db108984a9a59d79c12d677e93 (patch)
tree7f2a56144158e6b8114da9c1ada6ad0f844e1105 /methods/powell
parent6557e964add131cc416c522b49e1c4c807561cca (diff)
downloadopt-utilities-master.tar.bz2
Fix warnings about unused argumentsHEADmaster
Credit: https://stackoverflow.com/a/21731447
Diffstat (limited to 'methods/powell')
-rw-r--r--methods/powell/powell_method.hpp4
1 files changed, 2 insertions, 2 deletions
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)