Skip to content

Commit

Permalink
improve crfmnes
Browse files Browse the repository at this point in the history
  • Loading branch information
dietmarwo committed Nov 13, 2022
1 parent f1506b8 commit b46cc0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evojax/algo/crfmnes.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def ask(self) -> jnp.ndarray:
return self.jnp_stack(self.params)

def tell(self, fitness: jnp.ndarray) -> None:
self.crfm.tell(-jnp.array(fitness))
self.crfm.tell(-fitness)
self._best_params = self.crfm.x_best

@property
Expand Down

0 comments on commit b46cc0d

Please sign in to comment.