Skip to content

Commit

Permalink
Fix contract function
Browse files Browse the repository at this point in the history
  • Loading branch information
KeitaNakamura committed Oct 16, 2024
1 parent e7511d0 commit 09b5860
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ops.jl
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ end
@assert length(xdims) == length(ydims)
function create_indices(t, dims)
indices = collect(1:ndims(t))
indices[dims] = 100 .+ (1:length(dims))
indices[dims] = (ndims(x)+ndims(y)) .+ (1:length(dims))
Tuple(indices)
end
xindices = create_indices(x, xdims)
Expand Down

0 comments on commit 09b5860

Please sign in to comment.