@@ -265,13 +265,13 @@ local function ld_lmdif (env)
265
265
local jstra, jiter, jtau, bisec, rcond, ncond in obj
266
266
267
267
-- default setup
268
- jstra, jiter, jtau, bisec, rcond = jstra or 1, max(1, jiter or 10),
269
- max(eps, jtau or 1e-3), bisec or obj.exec and 0 or 3,
270
- rcond or 1e-12
268
+ jstra, jiter, jtau, bisec, rcond, ncond = jstra or 1, max(1, jiter or 10),
269
+ max(eps, jtau or 1e-3), bisec or obj.exec and 0 or 3,
270
+ rcond or 1e-12, ncond or 0
271
271
272
272
if env.info >= 3 then
273
- printf("nlopt: jstra=%d, jiter=%d, jtau=%g, bisec=%d, rcond=%g\n",
274
- jstra, jiter, jtau, bisec, rcond)
273
+ printf("nlopt: jstra=%d, jiter=%d, jtau=%g, bisec=%d, rcond=%g, ncond=%d \n",
274
+ jstra, jiter, jtau, bisec, rcond, ncond )
275
275
end
276
276
277
277
-- adjust variables (i.e. adjust x to fit bbox if any)
@@ -420,13 +420,13 @@ local function ld_jacobian (env)
420
420
local jstra, jiter, bisec, rcond, ncond in obj
421
421
422
422
-- default setup
423
- jstra, jiter, bisec, rcond = jstra or 1, max(1, jiter or 10),
424
- bisec or obj.exec and 0 or 3,
425
- rcond or 1e-12
423
+ jstra, jiter, bisec, rcond, ncond = jstra or 1, max(1, jiter or 10),
424
+ bisec or obj.exec and 0 or 3,
425
+ rcond or 1e-12, ncond or 0
426
426
427
427
if env.info >= 3 then
428
- printf("nlopt: jstra=%d, jiter=%d, bisec=%d, rcond=%g\n",
429
- jstra, jiter, bisec, rcond)
428
+ printf("nlopt: jstra=%d, jiter=%d, bisec=%d, rcond=%g, ncond=%d \n",
429
+ jstra, jiter, bisec, rcond, ncond )
430
430
end
431
431
432
432
-- adjust variables (i.e. adjust x to fit bbox if any)
0 commit comments