Skip to content

Commit

Permalink
Add VectorInterface extensions to PackageCompilerExt
Browse files Browse the repository at this point in the history
  • Loading branch information
kmp5VT committed Oct 18, 2024
1 parent a583788 commit 657ac91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ITensors"
uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5"
authors = ["Matthew Fishman <[email protected]>", "Miles Stoudenmire <[email protected]>"]
version = "0.6.21"
version = "0.6.22"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down Expand Up @@ -39,7 +39,7 @@ ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444"
[extensions]
ITensorsHDF5Ext = "HDF5"
ITensorsObserversExt = "Observers"
ITensorsPackageCompilerExt = "PackageCompiler"
ITensorsPackageCompilerExt = ["PackageCompiler", "VectorInterface"]
ITensorsVectorInterfaceExt = "VectorInterface"
ITensorsZygoteRulesExt = "ZygoteRules"

Expand Down
2 changes: 2 additions & 0 deletions ext/ITensorsPackageCompilerExt/precompile_itensors.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
using ITensors.ITensorMPS: MPO, OpSum, dmrg, random_mps, siteinds
using VectorInterface: VectorInterface
include("$(@__DIR__)/../ITensorsVectorInterfaceExt/ITensorsVectorInterfaceExt.jl")

# TODO: This uses all of the tests to make
# precompile statements, but takes a long time
Expand Down

0 comments on commit 657ac91

Please sign in to comment.