Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix doc typos in binary discrete optimizer module (pyswarms.discrete.binary) #409

Merged
merged 2 commits into from
Jun 17, 2020

Commits on Jun 16, 2020

  1. Fix typo in formula: 'm' --> 'w'

    Since 'm' wasn't defined anywhere, I assumed the inertia 'w' was actually meant here, similar to the formula for the real-valued algorithm
    Archer6621 authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    dd3c9ac View commit details
    Browse the repository at this point in the history
  2. Add missing 'w' entry in options dict keyword argument in doc for B…

    …inaryPSO init
    
    The 'w' key was missing in the `options` dictionary, but was described below in the list (and is used in the code as well).
    Archer6621 authored Jun 16, 2020
    Configuration menu
    Copy the full SHA
    e4c4426 View commit details
    Browse the repository at this point in the history