diff --git a/src/utils.jl b/src/utils.jl index 908f55ad..14115b0a 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -45,6 +45,10 @@ like `copy!` on arrays of scalars. """ function recursivecopy! end +function recursivecopy!(b, a) + copyto!(b, a) +end + function recursivecopy!(b::AbstractArray{T, N}, a::AbstractArray{T2, N}) where {T <: StaticArraysCore.StaticArray, T2 <: StaticArraysCore.StaticArray,