Skip to content

Commit

Permalink
fix typo and test locally
Browse files Browse the repository at this point in the history
  • Loading branch information
Jutho committed Oct 29, 2024
1 parent a1a569a commit b658c67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auxiliary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ end
end

@inline localoffset(d, I::Tuple{Int}, sz::Tuple{Int}) = 0
@inline function localoffset(d, I::NTuple{N,Int}, sz::Tuple{N,Int}) where {N}
@inline function localoffset(d, I::NTuple{N,Int}, sz::NTuple{N,Int}) where {N}
offset = 0
for i in 1:(I[1] - 1)
offset += num_manhattan_points(d - i + 1, Base.tail(sz))
Expand Down

0 comments on commit b658c67

Please sign in to comment.