Skip to content

Commit

Permalink
Remove extraneous export
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Apr 28, 2024
1 parent baf68cf commit a396f8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/ITensors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ include("global_variables.jl")
include("lastval.jl")
include("lib/SmallStrings/src/SmallStrings.jl")
using .SmallStrings: SmallStrings, IntChar, Tag, isint, isnull
export Tag
include("readwrite.jl")
# TODO: Move to `lib/Nots/src/Nots.jl`.
include("not.jl")
Expand All @@ -82,8 +81,10 @@ include("indexset.jl")
include("itensor.jl")
include("val.jl")
export val
# include("lib/QuantumNumbers/src/QuantumNumbers.jl")
# using .QuantumNumbers: QN
# export QN
include("qn/flux.jl")
# TODO: Move to `lib/QuantumNumbers/src/QuantumNumbers.jl`.
include("qn/qn.jl")
include("oneitensor.jl")
include("tensor_operations/tensor_algebra.jl")
Expand Down
4 changes: 2 additions & 2 deletions test/base/test_exports.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ using ITensors: ITensors
using Test: @test, @testset
include("utils/TestITensorsExportedNames/TestITensorsExportedNames.jl")
using .TestITensorsExportedNames: ITENSORS_EXPORTED_NAMES
@testset "Test $name is exported" for name in ITENSORS_EXPORTED_NAMES
@test Base.isexported(ITensors, name)
@testset "Test exports of ITensors" begin
@test issetequal(names(ITensors), ITENSORS_EXPORTED_NAMES)
end
end

0 comments on commit a396f8b

Please sign in to comment.