fix bug for some compilers with nansum on integer type
Checking the "nan-ness" of an integer is ill-posed, such that the standard library of some compilers returns an error message. Dropping the nan filter here for the sum is safe because `xt::equal` evaluates to false when either operand is NAN.
Showing
+1 -1
Please register or sign in to comment