We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 63adb2a + d7ef7a4 commit 2924afcCopy full SHA for 2924afc
src/utils.jl
@@ -10,6 +10,8 @@ function recursivecopy(a)
10
deepcopy(a)
11
end
12
13
+recursivecopy(a::Number) = copy(a)
14
+
15
function recursivecopy(a::AbstractArray{T,N}) where {T<:Number,N}
16
copy(a)
17
0 commit comments