Skip to content

Commit

Permalink
Strictly speaking it does not matter, but well...
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiendesignolle committed Jan 9, 2025
1 parent e3d4565 commit 5fc0fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nonlocal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function _local_bound_correlation_recursive!(
A .*= 2
marg && (offset_end .-= selectdim(A, N, 1)) # note this is twice the original A
offset_end .*= -1
chunk[1] > 0 && digits!(ind[N-1], chunk[1]; base = 2)
chunk[1] > 0 && digits!(ind[N-1], chunk[1] - 1; base = 2)
score = typemin(T)
for _ chunk[1]:chunk[2]
tmp_end .= offset_end
Expand Down

0 comments on commit 5fc0fb3

Please sign in to comment.