Skip to content

Commit

Permalink
Updated get_neighbors function comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
CPapadim authored Sep 25, 2017
1 parent ff79d2f commit 85798ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyswarms/single/local_best.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ def _get_neighbors(self, pbest_cost):
Parameters
----------
current_cost : numpy.ndarray of size :code:`(n_particles, )`
the cost incurred at the current position. Will be used for
pbest_cost : numpy.ndarray of size :code:`(n_particles, )`
the cost incurred at the historically best position. Will be used for
mapping the obtained indices to its actual cost.
Returns
Expand Down

0 comments on commit 85798ce

Please sign in to comment.