Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
oxinabox and github-actions[bot] authored Jan 19, 2024
1 parent e919d92 commit 2adb0b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tangent_types/abstract_zero.jl
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ function zero_tangent(x::MutableTangent{P}) where {P}
return MutableTangent{P}(zb)
end

function zero_tangent(x::Tangent{P}) where P
function zero_tangent(x::Tangent{P}) where {P}
zb = backing(zero_tangent(backing(x)))
return Tangent{P, typeof(zb)}(zb)
return Tangent{P,typeof(zb)}(zb)
end

@generated function zero_tangent(primal)
Expand Down

0 comments on commit 2adb0b9

Please sign in to comment.