Skip to content

Commit 7786d93

Browse files
authored
Clean up julia 0.6 syntax for SizedArray.jl (#725)
1 parent ef5c315 commit 7786d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SizedArray.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ end
4141
@inline SizedArray{S,T,N}(::UndefInitializer) where {S,T,N} = SizedArray{S,T,N,N}(undef)
4242
@inline SizedArray{S,T}(::UndefInitializer) where {S,T} = SizedArray{S,T,tuple_length(S),tuple_length(S)}(undef)
4343

44-
@generated function (::Type{SizedArray{S,T,N,M}})(x::NTuple{L,Any}) where {S,T,N,M,L}
44+
@generated function SizedArray{S,T,N,M}(x::NTuple{L,Any}) where {S,T,N,M,L}
4545
if L != tuple_prod(S)
4646
error("Dimension mismatch")
4747
end

0 commit comments

Comments
 (0)