Skip to content

Commit a438851

Browse files
Update ArrayInterface.jl
1 parent b4ef240 commit a438851

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ArrayInterface.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Query whether a type is mutable or not, see
1111
https://github.com/JuliaDiffEq/RecursiveArrayTools.jl/issues/19.
1212
"""
1313
Base.@pure ismutable(x::DataType) = x.mutable
14+
ismutable(x) = ismutable(typeof(x))
1415

1516
ismutable(x::Array) = true
1617

0 commit comments

Comments
 (0)