Skip to content

Commit 1180ab7

Browse files
committed
word choice
1 parent a5824ce commit 1180ab7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/differentials/abstract_zero.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ The only valid way to perturb such values is to not change them at all.
5151
As a consequence, `DoesNotExist` is functionally identical to `Zero()`,
5252
but it provides additional semantic information.
5353
54-
Adding this differential to a primal is intrinsically wrong: gradient-based
54+
Adding this differential to a primal is generally wrong: gradient-based
5555
methods cannot be used to optimize over discrete variables.
5656
An optimization package making use of this might want to check for such a case.
5757

0 commit comments

Comments
 (0)