Skip to content

Commit de6037f

Browse files
committed
AbstractSolver and docstring note about SDEs
1 parent d158c11 commit de6037f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

diffrax/_solver/reversible.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .._solution import RESULTS, update_result
99
from .._solver.base import (
1010
AbstractReversibleSolver,
11-
AbstractStratonovichSolver,
11+
AbstractSolver,
1212
AbstractWrappedSolver,
1313
)
1414
from .._term import AbstractTerm
@@ -26,7 +26,7 @@ class Reversible(
2626
"""
2727
Reversible solver method.
2828
29-
Allows any solver ([`diffrax.AbstractStratonovichSolver`][]) to be made
29+
Allows any solver ([`diffrax.AbstractSolver`][]) to be made
3030
algebraically reversible.
3131
3232
**Arguments:**
@@ -35,6 +35,9 @@ class Reversible(
3535
Must be within the range `0 < coupling_parameter < 1`. Unless you need finer control
3636
over stability, the default value of `0.999` should be sufficient.
3737
38+
!!! note
39+
When solving SDEs, the base `solver` must converge to the Statonovich solution.
40+
3841
??? cite "References"
3942
4043
This method was developed in:
@@ -72,7 +75,7 @@ class Reversible(
7275
```
7376
"""
7477

75-
solver: AbstractStratonovichSolver
78+
solver: AbstractSolver
7679
coupling_parameter: float = 0.999
7780

7881
@property

0 commit comments

Comments
 (0)