Skip to content

Commit d9de61c

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/tangent_types/abstract_zero.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,7 @@ end
172172
function zero_tangent(::T) where {K,V,T<:AbstractDict{K,V}}
173173
return Tangent{T}(Dict{K,guess_zero_tangent_type(V)}())
174174
end
175-
zero_tangent(::Base.Pairs{Symbol, Union{}, Tuple{}, @NamedTuple{}}) = NoTangent()
176-
175+
zero_tangent(::Base.Pairs{Symbol,Union{},Tuple{},@NamedTuple{}}) = NoTangent()
177176

178177
# Sad heauristic methods we need because of unassigned values
179178
guess_zero_tangent_type(::Type{T}) where {T<:Number} = T

0 commit comments

Comments
 (0)