From: stevenj Date: Fri, 4 Jun 2010 20:44:31 +0000 (-0400) Subject: fix shadowed overloading X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=2b41b45acde152d91d5e50115ade63bbbb621759;p=nlopt.git fix shadowed overloading darcs-hash:20100604204431-c8de0-cdb649749d72bf29f57afe5c63d1779d984fe6c8.gz --- 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);