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:
30c4df4
)
guard against multiple inclusion in nlopt.hpp; thanks to Saul Thurrowgood for the...
author
stevenj
<stevenj@alum.mit.edu>
Thu, 17 Jun 2010 23:47:43 +0000
(19:47 -0400)
committer
stevenj
<stevenj@alum.mit.edu>
Thu, 17 Jun 2010 23:47:43 +0000
(19:47 -0400)
darcs-hash:
20100617234743
-c8de0-
d51fc34a1b673496e780c40c6f9dcde6b8e94f93
.gz
api/nlopt-in.hpp
patch
|
blob
|
history
diff --git
a/api/nlopt-in.hpp
b/api/nlopt-in.hpp
index 8e09347d5a9f7a0d76caa76a5b870112f1ccd0d0..acb2dd1b57c2fa8dd3b1ca028a3ea71bdc9bc327 100644
(file)
--- a/
api/nlopt-in.hpp
+++ b/
api/nlopt-in.hpp
@@
-23,6
+23,9
@@
// C++ style wrapper around NLopt API
// nlopt.hpp is AUTOMATICALLY GENERATED from nlopt-in.hpp - edit the latter!
+#ifndef NLOPT_HPP
+#define NLOPT_HPP
+
#include <nlopt.h>
#include <vector>
@@
-467,3
+470,5
@@
namespace nlopt {
//////////////////////////////////////////////////////////////////////
} // namespace nlopt
+
+#endif /* NLOPT_HPP */