Skip to content

Commit

Permalink
positional arg
Browse files Browse the repository at this point in the history
  • Loading branch information
btjanaka committed Nov 29, 2023
1 parent bbd3c25 commit 4e625d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ribs/emitters/_evolution_strategy_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def __init__(
**(es_kwargs if es_kwargs is not None else {}))
self._opt.reset(self._x0)

self._ranker = _get_ranker(ranker, seed=ranker_seed)
self._ranker = _get_ranker(ranker, ranker_seed)
self._ranker.reset(self, archive)

self._batch_size = self._opt.batch_size
Expand Down
2 changes: 1 addition & 1 deletion ribs/emitters/_gradient_arborescence_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __init__(self,
self._normalize_grads = normalize_grad
self._jacobian_batch = None

self._ranker = _get_ranker(ranker, seed=ranker_seed)
self._ranker = _get_ranker(ranker, ranker_seed)
self._ranker.reset(self, archive)

if selection_rule not in ["mu", "filter"]:
Expand Down

0 comments on commit 4e625d1

Please sign in to comment.