You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Szudzik and cantor pairing functions are raising RuntimeWarnings for np.nan.
Expected behavior
Should not raise.
Steps to replicate behavior (include URLs)
>>> from gval.comparison import pairing_functions
>>> import numpy as np
>>> pairing_functions.szudzik_pair_signed(1,np.nan)
<stdin>:1: RuntimeWarning: invalid value encountered in szudzik_pair_signed
nan
The text was updated successfully, but these errors were encountered:
- found no warnings with differing dtypes for 32 and 64bit cases in pairing funcs. #45.
- `_is_not_natural_number` now returns True, False, or raises warning. #56
- created `PairingDict` class to address np.nan issue within dict keys. #76, #79
- changed `_assert_pairing_dict_equal` to test for hashing for #76 and #79.
Current behavior
Expected behavior
Steps to replicate behavior (include URLs)
The text was updated successfully, but these errors were encountered: