From a860e197b14a3cb4d7525e428e8dfadb4eb3a702 Mon Sep 17 00:00:00 2001 From: ashutosh-b-b Date: Thu, 1 Feb 2024 13:33:31 +0530 Subject: [PATCH] chore: fix formatting --- src/DeepSplitting.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/DeepSplitting.jl b/src/DeepSplitting.jl index 939b20e..3091f50 100644 --- a/src/DeepSplitting.jl +++ b/src/DeepSplitting.jl @@ -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 """