Skip to content

Commit 3ad7e14

Browse files
authored
get rid of extraneous splat (#46)
1 parent f0dbc65 commit 3ad7e14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FixedSizeArrays.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Base.@propagate_inbounds Base.setindex!(A::FixedSizeArray, v, i::Int) = A.mem[i]
4040
Base.size(a::FixedSizeArray) = getfield(a, :size)
4141

4242
function Base.similar(::FixedSizeArray, ::Type{S}, size::NTuple{N,Int}) where {S,N}
43-
FixedSizeArray{S,N}(undef, size...)
43+
FixedSizeArray{S,N}(undef, size)
4444
end
4545

4646
Base.isassigned(a::FixedSizeArray, i::Int) = isassigned(a.mem, i)

0 commit comments

Comments
 (0)