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 2795872 commit 7e9e778Copy full SHA for 7e9e778
src/tangent_types/abstract_zero.jl
@@ -118,9 +118,9 @@ function zero_tangent(x::MutableTangent{P}) where {P}
118
return MutableTangent{P}(zb)
119
end
120
121
-function zero_tangent(x::Tangent{P}) where P
+function zero_tangent(x::Tangent{P}) where {P}
122
zb = backing(zero_tangent(backing(x)))
123
- return Tangent{P, typeof(zb)}(zb)
+ return Tangent{P,typeof(zb)}(zb)
124
125
126
@generated function zero_tangent(primal)
0 commit comments