Skip to content

Commit 2547025

Browse files
committed
Merge branch 'sd/simple-mesh' into ff/refactor
2 parents 94496a5 + 6c7b407 commit 2547025

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fixed_arrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function Random.randn(rng::Random.AbstractRNG, ::Type{V}) where V <: StaticVecto
115115
V(ntuple(i-> randn(rng, T), N))
116116
end
117117

118-
Base.@propagate_inbounds function Base.getindex(v::StaticVector{N,T}, i::Int) where {N,T}
118+
Base.@propagate_inbounds function Base.getindex(v::StaticVector{N,T}, i::Integer) where {N,T}
119119
return v.data[i]
120120
end
121121

0 commit comments

Comments
 (0)