Skip to content

Commit 429a2fd

Browse files
committed
Explain the improved normalisation
1 parent 6574407 commit 429a2fd

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

probdiffeq/probdiffeq.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2152,6 +2152,13 @@ def estimate_error_norm(
21522152
reference, _ = tree.ravel_pytree(reference)
21532153

21542154
# Turn the unscaled absolute error into a relative one
2155+
# This is a generalisation of the typical residual-based
2156+
# error estimates for probabilistic solvers in the sense that
2157+
# it respects higher-order information. For first-order problems,
2158+
# it is identical to Schober et al, Bosch et al., and so on.
2159+
# For higher-order problems it is closer to Taylor-series based
2160+
# (non-probabilistic) ODE solvers; for example, refer to
2161+
# Tan et al. (2026; https://arxiv.org/pdf/2602.04086).
21552162
n = self.constraint.root_order - 1
21562163
error_abs = error * dt**n / np.factorial(n)
21572164
error_norm = self.error_norm(error_abs, reference, atol=atol, rtol=rtol)

0 commit comments

Comments
 (0)