提交 857889e6 编写于 作者: S Steven G. Johnson

backward compatibility with old Octave_map for #42

上级 5326ab41
......@@ -29,6 +29,11 @@
#include "nlopt.h"
#include "nlopt_optimize_usage.h"
#include <octave/version.h>
#if OCTAVE_MAJOR_VERSION < 3 || (OCTAVE_MAJOR_VERSION == 3 && OCTAVE_MINOR_VERSION < 8)
# define octave_map Octave_map
#endif
static int struct_val_default(octave_map &m, const std::string& k,
int dflt)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册