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

Instantiate ArgumentError before throwing it #68

Merged
merged 1 commit into from
Apr 13, 2017

Conversation

carlozanella
Copy link
Contributor

If signs don't change at the bounds, throw an ArgumentError instance with the error message. Otherwise it's hard to catch the error (and if you do, you still get warning messages).

@ararslan ararslan merged commit cff0eaf into JuliaMath:master Apr 13, 2017
@carlozanella carlozanella deleted the pull-request/090c3c47 branch July 27, 2017 11:59
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