Modify pselect and various masks to use Scalar(1) for true.

This replaces the current use of NaN for scalars, which breaks when fast-math is enabled.

Fixes #2915 (closed).

Merge request reports

Loading