We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5824ce commit 1180ab7Copy full SHA for 1180ab7
src/differentials/abstract_zero.jl
@@ -51,7 +51,7 @@ The only valid way to perturb such values is to not change them at all.
51
As a consequence, `DoesNotExist` is functionally identical to `Zero()`,
52
but it provides additional semantic information.
53
54
-Adding this differential to a primal is intrinsically wrong: gradient-based
+Adding this differential to a primal is generally wrong: gradient-based
55
methods cannot be used to optimize over discrete variables.
56
An optimization package making use of this might want to check for such a case.
57
0 commit comments