From 4e4074729e341aeaf164bcf64602ba4e4ca0e1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20S=C3=A1nchez=20Ram=C3=ADrez?= Date: Tue, 25 Apr 2023 16:24:01 +0200 Subject: [PATCH] Refactor imported symbols from `Tensors` --- src/Tenet.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Tenet.jl b/src/Tenet.jl index fa0ad7226..13fd370e4 100644 --- a/src/Tenet.jl +++ b/src/Tenet.jl @@ -6,11 +6,9 @@ include("Helpers.jl") include("Numerics.jl") import Tensors: Tensor, contract, labels, dim, tags, hastag, tag!, untag! -export Tensor, contract, labels, dim, tags, hastag, tag!, untag! include("Index.jl") export Index, isphysical, isvirtual, site, ishyperind, links -export tags, tag!, untag!, hastag include("TensorNetwork.jl") export TensorNetwork, tensors, arrays, inds, openinds, hyperinds, select @@ -43,6 +41,9 @@ end # reexports from LinearAlgebra export norm, normalize! +# reexports from Tensors +export Tensor, contract, labels, dim, tags, hastag, tag!, untag! + # TODO reexports from EinExprs end