From 2b41b45acde152d91d5e50115ade63bbbb621759 Mon Sep 17 00:00:00 2001 From: stevenj Date: Fri, 4 Jun 2010 16:44:31 -0400 Subject: [PATCH] fix shadowed overloading darcs-hash:20100604204431-c8de0-cdb649749d72bf29f57afe5c63d1779d984fe6c8.gz --- api/nlopt-in.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/nlopt-in.hpp b/api/nlopt-in.hpp index a44cd8c..5936d2c 100644 --- a/api/nlopt-in.hpp +++ b/api/nlopt-in.hpp @@ -327,7 +327,7 @@ namespace nlopt { dx.empty() ? NULL : &dx[0]); mythrow(ret); } - std::vector get_initial_step(const std::vector &x) const { + std::vector get_initial_step_(const std::vector &x) const { if (!o) throw std::runtime_error("uninitialized nlopt::opt"); std::vector v(nlopt_get_dimension(o)); get_initial_step(x, v); -- 2.30.2