add argument checks to nlopt_get_xtol_abs (#265)
Similar nlopt_get_* functions in options.c always check for (opt && (opt->n == 0 || argument)), requiring a valid nlopt * opt and only allowing a null argument when the optimizer is "empty". nlopt_get_xtol_abs seems to have been left out (13e0f277).
Showing
想要评论请 注册 或 登录