forked from JuliaLang/julia
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add convergenceexception information (JuliaLang#484)
In order to add informative hints to ConvergenceExceptions, I have added a `info` field to `ConvergenceException` structs. If the `info` field is not empty, it will also be printed with the error message for `ConvergenceExceptions`. This is useful to inform the user of why he or she may be experiencing problems with convergence, and to suggest ways to avoid these errors. For an example of this, see JuliaStats/GLM.jl#303.
- Loading branch information
1 parent
81a07a1
commit 413d51a
Showing
2 changed files
with
12 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters