pyribs icon indicating copy to clipboard operation
pyribs copied to clipboard

[BUG] GridArchive fails with NaN in behavior values

Open btjanaka opened this issue 2 years ago • 0 comments

  • pyribs version: 0.4.0
  • Python version: 3.8
  • Operating System: Linux

Description

If you pass NaN as a behavior value to a GridArchive's add() function, it will cause an error where the index produced by get_index is INT_MIN.

Steps to Reproduce

:)

btjanaka avatar Apr 18 '22 23:04 btjanaka