Skip to content

Commit

Permalink
Fix missing change
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Mar 15, 2024
1 parent ab0cf93 commit 07c6f35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tensors/abstracttensor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ Return all indices of the domain of a tensor.
See also [`codomainind`](@ref) and [`allind`](@ref).
"""
function domainind(::Type{T}) where {T<:AbstractTensorMap}
return ntuple(n -> N₁ + n, N₂)
return ntuple(n -> numout(T) + n, numin(T))
end
domainind(t::AbstractTensorMap) = domainind(typeof(t))

Expand Down

0 comments on commit 07c6f35

Please sign in to comment.