Skip to content

Commit

Permalink
Switch to local include for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lkdvos committed Apr 22, 2024
1 parent 72f552f commit f88771e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
1 change: 0 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PackageExtensionCompat = "65ce6f38-6b18-4e1d-a461-8949797d7930"
Strided = "5e0ebb24-38b0-5f93-81fe-25c709ecae67"
TensorKitSectors = "7ea117e4-0799-4282-ac6e-748b4bc2d0f5"
TensorOperations = "6aa20fa7-93e2-5fca-9bc0-fbd0db3c71a2"
TupleTools = "9d95972d-f1c8-5527-a6e0-b4b365fa01f6"
VectorInterface = "409d34a3-91d5-4945-b6ec-7529ddf182d8"
Expand Down
9 changes: 5 additions & 4 deletions src/TensorKit.jl
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,11 @@ Base.show(io::IO, e::IndexError) = print(io, "IndexError(", e.message, ")")
# Definitions and methods for superselection sectors (quantum numbers)
#----------------------------------------------------------------------

using TensorKitSectors
import TensorKitSectors: dim, BraidingStyle, FusionStyle, ,
import TensorKitSectors: dual, type_repr
import TensorKitSectors: twist
include(joinpath(@__DIR__, "..", "TensorKitSectors", "src", "TensorKitSectors.jl"))
using .TensorKitSectors
import .TensorKitSectors: dim, BraidingStyle, FusionStyle, ,
import .TensorKitSectors: dual, type_repr
import .TensorKitSectors: twist

# Constructing and manipulating fusion trees and iterators thereof
#------------------------------------------------------------------
Expand Down
7 changes: 4 additions & 3 deletions test/newsectors.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ module NewSectors
export NewSU2Irrep

using HalfIntegers, WignerSymbols
using TensorKitSectors
using TensorKit
using TensorKit: TensorKitSectors

import TensorKitSectors: FusionStyle, BraidingStyle, Nsymbol, Fsymbol, Rsymbol, dim,
fusiontensor,
import TensorKit.TensorKitSectors: FusionStyle, BraidingStyle, Nsymbol, Fsymbol, Rsymbol, dim,
fusiontensor, , SectorValues

struct NewSU2Irrep <: Sector
j::HalfInt
Expand Down
4 changes: 0 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
# TODO: remove this once separate folders are registered
import Pkg;
Pkg.develop(Pkg.PackageSpec(path=joinpath(@__DIR__, "..", "TensorKitSectors")))

using Test
using TestExtras
using Random
Expand Down

0 comments on commit f88771e

Please sign in to comment.