fix scalar pselect

Reference issue

Fixes #2828 (closed)

What does this implement/fix?

MSVC's fast-math does not propagate nan in the usual way. For example: nan == 0.0 returns true. While few like changing code to accommodate MSVC in an unsafe math mode, I think there is no value added in treating scalars and packets differently.

Additional information

Merge request reports

Loading