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

Replace assert with exception for invalid argument #584

Merged
merged 1 commit into from May 7, 2021

Conversation

arunkannawadi
Copy link
Member

The methods setNumIter and setNumSigmaClip must throw an exception
if the input parameters are invalid instead of asserting that they are
valid.

@arunkannawadi arunkannawadi force-pushed the tickets/DM-29069 branch 2 times, most recently from c4355d6 to d87ea0c Compare May 6, 2021 03:32
Copy link
Contributor

@MorganSchmitz MorganSchmitz left a comment

Choose a reason for hiding this comment

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

Good to go as soon as you got rid of the changes to _statistics.cc!

The methods `setNumIter` and `setNumSigmaClip` must throw an
exception if the input parameters are invalid instead of asserting that they
are valid.
@arunkannawadi arunkannawadi merged commit fc6d2d7 into master May 7, 2021
@arunkannawadi arunkannawadi deleted the tickets/DM-29069 branch May 7, 2021 02: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.

None yet

2 participants