Skip to content

Commit f8b71ff

Browse files
authored
make FixedSizeArray immutable (#2)
1 parent b1e5429 commit f8b71ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FixedSizeArrays.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ module FixedSizeArrays
22

33
export FixedSizeArray, FixedSizeVector, FixedSizeMatrix
44

5-
mutable struct FixedSizeArray{T,N} <: DenseArray{T,N}
5+
struct FixedSizeArray{T,N} <: DenseArray{T,N}
66
mem::Memory{T}
7-
const size::NTuple{N,Int}
7+
size::NTuple{N,Int}
88
end
99

1010
const FixedSizeVector{T} = FixedSizeArray{T,1}

0 commit comments

Comments
 (0)