Skip to content

Commit 3c4bb9f

Browse files
committed
Fix
1 parent 4904645 commit 3c4bb9f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/general/abstract_system.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,12 @@ initialize!(system, semi) = system
5959
end
6060

6161
# Return `A[:, i...]` as an `SVector`.
62-
@inline function extract_svector(A, ::Val{NDIMS}, i) where {NDIMS}
62+
@inline function extract_svector(A, ::Val{NDIMS}, i...) where {NDIMS}
6363
# Explicit bounds check, which can be removed by calling this function with `@inbounds`
6464
@boundscheck checkbounds(A, NDIMS, i...)
6565

6666
# Assume inbounds access now
6767
return SVector(ntuple(@inline(dim->@inbounds A[dim, i...]), NDIMS))
68-
# vec = SIMD.vload(SIMD.Vec{NDIMS, eltype(A)}, pointer(A, NDIMS * (i - 1) + 1))
6968

7069
return SVector{NDIMS}(Tuple(vec))
7170
end

0 commit comments

Comments
 (0)