vortex
vortex copied to clipboard
`sum` statistic should not include `NaN`s
This can be derived from the NaN count.
I think this is clearly fine for the statistic, since we do the same for Min/Max. It's less clear that it's valid for the compute function, which should arguably be IEEE-compliant (and can short-circuit to NaN if nan_count stat > 0)