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.
1 parent 63adb2a commit d7ef7a4Copy full SHA for d7ef7a4
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