Commit fdd02b33 authored by Thibault Hallouin's avatar Thibault Hallouin
Browse files

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.
parent 5637a521
Showing with 1 addition and 1 deletion
+1 -1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment