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 e37c451 commit 55ac89dCopy full SHA for 55ac89d
src/ArrayInterface.jl
@@ -12,11 +12,12 @@ function ismutable end
12
Query whether a type is mutable or not, see
13
https://github.com/JuliaDiffEq/RecursiveArrayTools.jl/issues/19.
14
"""
15
-ismutable(x) = ismutable(typeof(x))
+ismutable(x) = (@show x; ismutable(typeof(x)))
16
17
ismutable(::Type{<:AbstractArray}) = true
18
ismutable(::Type{<:Number}) = false
19
ismutable(::Type{<:AbstractRange}) = false
20
+ismutable(::Type{<:Tuple}) = false
21
22
# Piracy
23
function Base.setindex(x::AbstractArray,v,i...)
0 commit comments