QDax icon indicating copy to clipboard operation
QDax copied to clipboard

`_sample_in_masked_pareto_front` does not return `random_key`

Open Lookatator opened this issue 2 years ago • 0 comments

The function _sample_in_masked_pareto_front does not return an updated random_key (contrary to all other functions in the project).

https://github.com/adaptive-intelligent-robotics/QDax/blob/50b997fd5795e0df2b80234ec9fc6772bce0b6a8/qdax/core/containers/mome_repertoire.py#L49-L61

This can probably be solved by using the in_axis and out_axis arguments of jax.vmap

Lookatator avatar Jul 05 '22 08:07 Lookatator