IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#323 closed defect (fixed)

psMinimizePowell does not set value, lastDelta

Reported by: Paul Price Owned by: gusciora@…
Priority: high Milestone:
Component: types Version: unspecified
Severity: trivial Keywords:
Cc:

Description

psMinimizePowell does not set min->value or min->lastDelta. These parameters
are necessary for inspecting the quality of the fit.

bool success = psMinimizePowell(min, position, NULL, coordsArray, minFunc);
printf("Success: %d\n", success);
printf("x: %f\ny: %f\n", position->data.F32[0], position->data.F32[1]);
printf("min->value: %f\n", min->value);
printf("min->iter: %d\n", min->iter);
printf("min->lastDelta: %f\n", min->lastDelta);

produces:

Success: 1
x: -2.999686
y: 1.002555
min->value: 0.000000
min->iter: 3
min->lastDelta: 0.000000

Change History (6)

comment:1 by robert.desonia@…, 21 years ago

Owner: changed from robert.desonia@… to george.gusciora@…

comment:2 by robert.desonia@…, 21 years ago

Owner: changed from george.gusciora@… to gusciora@…

comment:3 by gusciora@…, 21 years ago

Status: newassigned

The ->value and ->iter members are currently set on all successful exit points.

Must set ->lastDelta.

comment:4 by gusciora@…, 21 years ago

Resolution: fixed
Status: assignedclosed

This code was fixed in the current CVS tree.

comment:5 by Paul Price, 20 years ago

Keywords: VERIFIED added

Bug has been resolved.... closing.

comment:6 by Paul Price, 20 years ago

Keywords: VERIFIED removed

Bugs have been fixed... closing.

Note: See TracTickets for help on using tickets.