chiark
/
gitweb
/
~ianmdlvl
/
nlopt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c939fbd
)
fix shadowed overloading
author
stevenj
<stevenj@alum.mit.edu>
Fri, 4 Jun 2010 20:44:31 +0000
(16:44 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Fri, 4 Jun 2010 20:44:31 +0000
(16:44 -0400)
darcs-hash:
20100604204431
-c8de0-
cdb649749d72bf29f57afe5c63d1779d984fe6c8
.gz
api/nlopt-in.hpp
patch
|
blob
|
history
diff --git
a/api/nlopt-in.hpp
b/api/nlopt-in.hpp
index a44cd8ccabb6a943ea84a5f5a1c9e2bc9ef8984f..5936d2c4ee49873e99b42bf873755b9f85d6f4fa 100644
(file)
--- 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<double> get_initial_step(const std::vector<double> &x) const {
+ std::vector<double> get_initial_step
_
(const std::vector<double> &x) const {
if (!o) throw std::runtime_error("uninitialized nlopt::opt");
std::vector<double> v(nlopt_get_dimension(o));
get_initial_step(x, v);