Skip to content

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ashutosh-b-b committed Feb 1, 2024
1 parent f5ed8e4 commit a860e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DeepSplitting.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
_copy(t::Tuple) = t
_copy(t) = t
function _copy(opt::O) where O<:Flux.Optimise.AbstractOptimiser
return O([_copy(getfield(opt,f)) for f in fieldnames(typeof(opt))]...)
function _copy(opt::O) where {O <: Flux.Optimise.AbstractOptimiser}
return O([_copy(getfield(opt, f)) for f in fieldnames(typeof(opt))]...)
end

"""
Expand Down

0 comments on commit a860e19

Please sign in to comment.