Skip to content

Commit

Permalink
Trigger GraphsFlows extension in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman committed Apr 24, 2024
1 parent a1d14bf commit bf927d6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ITensorNetworks"
uuid = "2919e153-833c-4bdc-8836-1ea460a35fc7"
authors = ["Matthew Fishman <[email protected]> and contributors"]
version = "0.9.0"
version = "0.10.0"

[deps]
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
Expand Down
2 changes: 2 additions & 0 deletions test/test_belief_propagation.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@eval module $(gensym())
using Compat: Compat
using Graphs: vertices
# Trigger package extension.
using GraphsFlows: GraphsFlows
using ITensorNetworks:
ITensorNetworks,
BeliefPropagationCache,
Expand Down
4 changes: 3 additions & 1 deletion test/test_binary_tree_partition.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
@eval module $(gensym())
using DataGraphs: DataGraph, underlying_graph, vertex_data
using Graphs: add_vertex!, vertices
# Trigger package extension.
using GraphsFlows: GraphsFlows
using ITensors: Index, ITensor, contract, noncommoninds, randomITensor
using ITensors.ITensorMPS: MPS
using ITensorNetworks:
Expand Down Expand Up @@ -103,7 +105,7 @@ end
for alg in ["density_matrix", "ttn_svd"]
approx_tn, lognorm = contract(
tn;
alg=alg,
alg,
output_structure=structure,
contraction_sequence_kwargs=(; alg="sa_bipartite"),
)
Expand Down
2 changes: 2 additions & 0 deletions test/test_contract_deltas.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
@eval module $(gensym())
using Graphs: dfs_tree, nv, vertices
# Trigger package extension.
using GraphsFlows: GraphsFlows
using ITensors: Index, ITensor, delta, noncommoninds, randomITensor
using ITensorNetworks:
IndsNetwork,
Expand Down

0 comments on commit bf927d6

Please sign in to comment.