Skip to content

Fixed behaviour of min/max (issue #43) - #44

Merged
danieltowner merged 1 commit into
mainfrom
fix_min_max
Oct 13, 2026
Merged

danieltowner merged 1 commit into
mainfrom
fix_min_max

Conversation

@danieltowner

Copy link
Copy Markdown
Contributor

The elementwise min/max previously used don't match the std::min/std::max functions (they introduce extra NaN handling), so revert to a variant based on select instead.

The elementwise min/max previously used don't match the std::min/std::max functions
(they introduce extra NaN handling), so revert to a variant based on select instead.

@timmiesmith timmiesmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@danieltowner
danieltowner merged commit 94b2026 into main Oct 13, 2026
4 checks passed
@danieltowner
danieltowner deleted the fix_min_max branch October 13, 2026 22:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants