Skip to content

Commit

Permalink
Refactor imported symbols from Tensors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio Sánchez Ramírez committed Apr 25, 2023
1 parent 0f7c7cd commit 4e40747
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Tenet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

0 comments on commit 4e40747

Please sign in to comment.