Small fix to SqDistAlgorithm initiization
Use NumPy's `isnan(var)` function instead of `var is np.nan`, since the latter doesn't work if var is a 64bit float NaN.
Loading
Please register or sign in to comment
Use NumPy's `isnan(var)` function instead of `var is np.nan`, since the latter doesn't work if var is a 64bit float NaN.