diff --git a/Project.toml b/Project.toml index a4f511869b..648f205332 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensors" uuid = "9136182c-28ba-11e9-034c-db9fb085ebd5" authors = ["Matthew Fishman ", "Miles Stoudenmire "] -version = "0.6.21" +version = "0.6.22" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" @@ -39,7 +39,7 @@ ZygoteRules = "700de1a5-db45-46bc-99cf-38207098b444" [extensions] ITensorsHDF5Ext = "HDF5" ITensorsObserversExt = "Observers" -ITensorsPackageCompilerExt = "PackageCompiler" +ITensorsPackageCompilerExt = ["PackageCompiler", "VectorInterface"] ITensorsVectorInterfaceExt = "VectorInterface" ITensorsZygoteRulesExt = "ZygoteRules" diff --git a/ext/ITensorsPackageCompilerExt/precompile_itensors.jl b/ext/ITensorsPackageCompilerExt/precompile_itensors.jl index 4d5d639359..830ef5544b 100644 --- a/ext/ITensorsPackageCompilerExt/precompile_itensors.jl +++ b/ext/ITensorsPackageCompilerExt/precompile_itensors.jl @@ -1,4 +1,5 @@ using ITensors.ITensorMPS: MPO, OpSum, dmrg, random_mps, siteinds +include("$(@__DIR__)/../ITensorsVectorInterfaceExt/ITensorsVectorInterfaceExt.jl") # TODO: This uses all of the tests to make # precompile statements, but takes a long time