Skip to content

Commit dac8620

Browse files
Update _solution.py (#443)
1 parent e8b8e5c commit dac8620

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

diffrax/_solution.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,8 @@ class Solution(AbstractPath):
6767
- `ys`: The value of the solution at each of the times in `ts`. Might `None` if no
6868
values were saved.
6969
- `stats`: Statistics for the solve (number of steps etc.).
70-
- `result`: Integer specifying the success or cause of failure of the solve. A
71-
value of `0` corresponds to a successful solve. Any other value is a failure.
72-
A human-readable message can be obtained by looking up messages via
73-
`diffrax.RESULTS[<integer>]`.
70+
- `result`: Enumeration specifying the success or cause of failure of the solve.
71+
A human-readable message is displayed if printed. No message means success!
7472
- `solver_state`: If saved, the final internal state of the numerical solver.
7573
- `controller_state`: If saved, the final internal state for the step size
7674
controller.

0 commit comments

Comments
 (0)