Skip to content

Commit 7e9e778

Browse files
formatting
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 2795872 commit 7e9e778

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tangent_types/abstract_zero.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ function zero_tangent(x::MutableTangent{P}) where {P}
118118
return MutableTangent{P}(zb)
119119
end
120120

121-
function zero_tangent(x::Tangent{P}) where P
121+
function zero_tangent(x::Tangent{P}) where {P}
122122
zb = backing(zero_tangent(backing(x)))
123-
return Tangent{P, typeof(zb)}(zb)
123+
return Tangent{P,typeof(zb)}(zb)
124124
end
125125

126126
@generated function zero_tangent(primal)

0 commit comments

Comments
 (0)