Skip to content

Commit

Permalink
Tweak complex warning
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-kidger committed Aug 11, 2024
1 parent b977dce commit 7384bfa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions diffrax/_integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit 7384bfa

Please sign in to comment.