Skip to content

Commit dd28efc

Browse files
committed
Undo varargs change
1 parent 953f42d commit dd28efc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/general/abstract_system.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,17 @@ end
5353
initialize!(system, semi) = system
5454

5555
# This should not be dispatched by system type. We always expect to get a column of `A`.
56-
@propagate_inbounds function extract_svector(A, system, i...)
57-
extract_svector(A, Val(ndims(system)), i...)
56+
@propagate_inbounds function extract_svector(A, system, i)
57+
extract_svector(A, Val(ndims(system)), i)
5858
end
5959

6060
# Return the `i`-th column of the array `A` as an `SVector`.
61-
@inline function extract_svector(A, ::Val{NDIMS}, i...) where {NDIMS}
61+
@inline function extract_svector(A, ::Val{NDIMS}, i) where {NDIMS}
6262
# Explicit bounds check, which can be removed by calling this function with `@inbounds`
63-
@boundscheck checkbounds(A, NDIMS, i...)
63+
@boundscheck checkbounds(A, NDIMS, i)
6464

6565
# Assume inbounds access now
66-
return SVector(ntuple(@inline(dim->@inbounds A[dim, i...]), NDIMS))
66+
return SVector(ntuple(@inline(dim->@inbounds A[dim, i]), NDIMS))
6767
end
6868

6969
# Return `A[:, :, i]` as an `SMatrix`.

0 commit comments

Comments
 (0)