Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a clamp function to FieldFactory #2147

Merged
merged 1 commit into from
Nov 20, 2020
Merged

Add a clamp function to FieldFactory #2147

merged 1 commit into from
Nov 20, 2020

Conversation

bendudson
Copy link
Contributor

Name taken from C++17 std::clamp, but works the same as NumPy clip.

Includes docs and tests

Name taken from C++17 std::clamp, but works the same as
NumPy clip.

Includes docs and tests
@bendudson bendudson added the small-change Changes less than 100 lines - should be quick to review label Nov 19, 2020
@ZedThree
Copy link
Member

Failing tests are the Fedora build that we fixed today, and that one test that keeps timing out on Travis

@ZedThree ZedThree merged commit d89e876 into next Nov 20, 2020
@ZedThree ZedThree deleted the next-expr-clamp branch November 20, 2020 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
small-change Changes less than 100 lines - should be quick to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants