[BUG] Using sorted()
on the keys()
attribute of a CompositeSpec
#775
Labels
bug
Something isn't working
sorted()
on the keys()
attribute of a CompositeSpec
#775
Describe the bug
In a number of places in the code, the
sorted()
method is run on thekeys()
attribute of aCompositeSpec
.The bug was found when trying to create a
ParallelEnv
for Brax.Here it fails as for nested specs the outputs of keys can be tuples.
The error is found is in
but I suspect it might not be the only occurrance
To Reproduce
The text was updated successfully, but these errors were encountered: