From 7384bfa1cd3222c2c5d8c705907e60bbf71587ec Mon Sep 17 00:00:00 2001 From: Patrick Kidger <33688385+patrick-kidger@users.noreply.github.com> Date: Fri, 2 Aug 2024 03:30:17 +0200 Subject: [PATCH] Tweak complex warning --- diffrax/_integrate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/diffrax/_integrate.py b/diffrax/_integrate.py index 615eafe9..d58e406d 100644 --- a/diffrax/_integrate.py +++ b/diffrax/_integrate.py @@ -957,8 +957,9 @@ def diffeqsolve( for xi in jtu.tree_leaves((terms, y0, args)) ): warnings.warn( - "Complex dtype support is work in progress, please read " - "https://github.com/patrick-kidger/diffrax/pull/197 and proceed carefully.", + "Complex dtype support is a work in progress and may not produce correct " + "results. Consider splitting your computation into real and imaginary " + "parts instead.", stacklevel=2, )