Skip to content

Commit

Permalink
make FixedSizeArray immutable (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
oscardssmith authored Feb 22, 2024
1 parent b1e5429 commit f8b71ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FixedSizeArrays.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ module FixedSizeArrays

export FixedSizeArray, FixedSizeVector, FixedSizeMatrix

mutable struct FixedSizeArray{T,N} <: DenseArray{T,N}
struct FixedSizeArray{T,N} <: DenseArray{T,N}
mem::Memory{T}
const size::NTuple{N,Int}
size::NTuple{N,Int}
end

const FixedSizeVector{T} = FixedSizeArray{T,1}
Expand Down

0 comments on commit f8b71ff

Please sign in to comment.