From 07c6f35bcd92c26cf1d690710c537f0db51f02a3 Mon Sep 17 00:00:00 2001 From: lkdvos Date: Fri, 15 Mar 2024 15:06:27 +0100 Subject: [PATCH] Fix missing change --- src/tensors/abstracttensor.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tensors/abstracttensor.jl b/src/tensors/abstracttensor.jl index 4db965d6..78e2fb0e 100644 --- a/src/tensors/abstracttensor.jl +++ b/src/tensors/abstracttensor.jl @@ -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))