From b73ae82abf8d53c1c13cd70c291908c3995fb1bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Tue, 13 Feb 2024 15:42:55 +0000 Subject: [PATCH] Fix missing type definition --- ext/ITensorNetworksEinExprsExt/ITensorNetworksEinExprsExt.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/ITensorNetworksEinExprsExt/ITensorNetworksEinExprsExt.jl b/ext/ITensorNetworksEinExprsExt/ITensorNetworksEinExprsExt.jl index ebddb989..516469da 100644 --- a/ext/ITensorNetworksEinExprsExt/ITensorNetworksEinExprsExt.jl +++ b/ext/ITensorNetworksEinExprsExt/ITensorNetworksEinExprsExt.jl @@ -22,6 +22,8 @@ function to_einexpr(ts::Vector{ITensor}) end function tensor_inds_to_vertex(ts::Vector{ITensor}) + IndexType = Any + mapping = Dict{Set{IndexType},VertexType}() for (v, tensor_v) in enumerate(ts)