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

Make bounds check in hyperrectangle constructor optional #2018

Merged
merged 2 commits into from
Feb 28, 2020
Merged

Conversation

mforets
Copy link
Member

@mforets mforets commented Feb 28, 2020

Closes #2015.
Closes #2017.

@mforets mforets changed the title Add alternative constructor Make bounds check in hyperrectangle constructor optional Feb 28, 2020
@mforets mforets requested a review from schillic February 28, 2020 15:13
src/Sets/Hyperrectangle.jl Show resolved Hide resolved
src/Sets/Hyperrectangle.jl Outdated Show resolved Hide resolved
Co-Authored-By: Christian Schilling <[email protected]>
@mforets
Copy link
Member Author

mforets commented Feb 28, 2020

Thanks for the review. As you've seen, i also removed the bounds check in the low/high constructor, as it was completely unnecessary since it is always done in the inner constructor..

@mforets mforets merged commit 9bc05cd into master Feb 28, 2020
@mforets mforets deleted the mforets/2015 branch February 28, 2020 20:57
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.

Bounds check in Hyperrectangle are done twice Make bounds check in hyperrectangle constructor optional
2 participants