Skip to content

Commit ec887cc

Browse files
committed
Fix mis-reverted merge.
1 parent e3b129e commit ec887cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DifferentiableProgramming.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1735,7 +1735,7 @@ where Self: Differentiable & FloatingPoint, Self == Self.TangentVector {
17351735

17361736
@inlinable
17371737
@derivative(of: log)
1738-
static func _(_ x: Self) -> (value: Self, differential: @differential(linear) (Self) -> Self) {
1738+
static func _(_ x: Self) -> (value: Self, differential: @differentiable(linear) (Self) -> Self) {
17391739
(log(x), { dx in 1 / x * dx })
17401740
}
17411741

0 commit comments

Comments
 (0)