-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Hi,
I'm encountering an error where i is not defined with Nelder-Mead function:
Think the issue lies in the shouldReduce part
` if (shouldReduce) {
// if we don't contract here, we're done
if (sigma >= 1) break;
// do a reduction
for (i = 1; i < simplex.length; ++i) {
weightedSum(simplex[i], 1 - sigma, simplex[0], sigma, simplex[i]);
simplex[i].fx = f(simplex[i]);
}
}`
Metadata
Metadata
Assignees
Labels
No labels