You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: DifferentiationInterface/src/docstrings.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ function docstring_prepare(operator; samepoint=false, inplace=false)
27
27
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.
28
28
29
29
!!! 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.
31
31
32
32
When `strict=Val(true)` (the default), type checking is enforced between preparation and execution (but size checking is left to the user).
33
33
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