提交 30b2503c 编写于 作者: S stevenj

whoops

darcs-hash:20070824025347-c8de0-c995e338829c25db49e5b822ed1563ebdd97eadf.gz
上级 e3970b1f
......@@ -135,7 +135,7 @@ nlopt_result nlopt_minimize(
}
iret = lbfgsb_minimize(n, f, f_data, x, nbd, lb, ub,
MIN(n, 5), 0.0, ftol_rel,
xtol_abs ? xtol_rel : *xtol_abs,
xtol_abs ? *xtol_abs : xtol_rel,
maxeval);
free(nbd);
if (iret <= 0) {
......
......@@ -125,6 +125,9 @@ int main(int argc, char **argv)
srand((unsigned) time(NULL));
testfuncs_verbose = 0;
if (argc <= 1)
usage(stdout);
while ((c = getopt(argc, argv, "hvra:o:e:")) != -1)
switch (c) {
case 'h':
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册