Commit 413d51a
Add convergenceexception information (#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.1 parent 81a07a1 commit 413d51a
2 files changed
+12
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
470 | | - | |
| 470 | + | |
| 471 | + | |
471 | 472 | | |
472 | 473 | | |
473 | 474 | | |
474 | | - | |
| 475 | + | |
475 | 476 | | |
476 | 477 | | |
477 | 478 | | |
478 | 479 | | |
479 | | - | |
480 | | - | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
481 | 483 | | |
482 | 484 | | |
483 | 485 | | |
484 | 486 | | |
485 | 487 | | |
486 | 488 | | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
487 | 492 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
0 commit comments