Closed AdrienWehrle closed 2 years ago
We currently test if a dictionary key is finite with key == key, now test with cmath.isnan() as suggested by LGTM.
key == key
cmath.isnan()
This pull request fixes 1 alert when merging 9995673139b154f83fd9de9cc6833569252ec1dc into d1bb655cdd66460234ccf6cf38afead374942521 - view on LGTM.com
fixed alerts:
We currently test if a dictionary key is finite with
key == key
, now test withcmath.isnan()
as suggested by LGTM.