Skip to content

Commit b98e4c5

Browse files
Update ArrayInterface.jl
1 parent 6b35def commit b98e4c5

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
@@ -14,6 +14,7 @@ Base.@pure ismutable(x::DataType) = x.mutable
1414
ismutable(x) = ismutable(typeof(x))
1515

1616
ismutable(::Type{Array}) = true
17+
ismutable(::Type{<:Number}) = false
1718

1819

1920
function __init__()

0 commit comments

Comments
 (0)