Skip to content

Commit 5ce30ea

Browse files
authored
Update DifferentiationInterface/src/docstrings.jl
1 parent 2c97811 commit 5ce30ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

DifferentiationInterface/src/docstrings.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function docstring_prepare(operator; samepoint=false, inplace=false)
2727
In some settings, invalid preparations may still give correct results (e.g. for backends that require no preparation), but this is not a semantic guarantee and should not be relied upon.
2828
2929
!!! danger
30-
The preparation result `prep` is **not thread-safe**. Sharing it between threads may lead to unexpected behavior. If you need to run differentiations concurrently, prepare separate `prep` objects for each thread.
30+
The preparation result `prep` is **not thread-safe**. Sharing it between threads may lead to unexpected behavior. If you need to run differentiation concurrently, prepare separate `prep` objects for each thread.
3131
3232
When `strict=Val(true)` (the default), type checking is enforced between preparation and execution (but size checking is left to the user).
3333
While your code may work for different types by setting `strict=Val(false)`, this is not guaranteed by the API and can break without warning.

0 commit comments

Comments
 (0)