Skip to content

For loop of reduction in src/nelderMead.js is missing a let statement #20

@wein2011

Description

@wein2011

The for loop of the reduction (line 132) in the nelderMead function is currently:
for (i = 1; i < simplex.length; ++i) {

However, it should include a let statement such as:
for (let i = 1; i < simplex.length; ++i) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions