Fix cwise NaN propagation for scalar input.
2 files changed