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
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,8 @@ function docstring_prepare(operator; samepoint=false, inplace=false)
26
26
Otherwise, preparation becomes invalid and you need to run it again.
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
-
When `strict=Val(true)`, type checking is enforced between preparation and execution (but size checking is left to the user).
29
+
When `strict=Val(true)` (the default), type checking is enforced between preparation and execution (but size checking is left to the user).
30
+
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