diff --git a/Project.toml b/Project.toml index 49cbffd..782edca 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "ITensorNetworksNext" uuid = "302f2e75-49f0-4526-aef7-d8ba550cb06c" authors = ["ITensor developers and contributors"] -version = "0.3.5" +version = "0.3.6" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" @@ -39,7 +39,7 @@ Combinatorics = "1" DataGraphs = "0.2.7" DiagonalArrays = "0.3.23" Dictionaries = "0.4.5" -FunctionImplementations = "0.3" +FunctionImplementations = "0.4" Graphs = "1.13.1" LinearAlgebra = "1.10" MacroTools = "0.5.16" diff --git a/src/LazyNamedDimsArrays/lazyinterface.jl b/src/LazyNamedDimsArrays/lazyinterface.jl index 9c321f4..d7dd99b 100644 --- a/src/LazyNamedDimsArrays/lazyinterface.jl +++ b/src/LazyNamedDimsArrays/lazyinterface.jl @@ -23,9 +23,9 @@ opwalk(opmap, a) = walk(opmap, identity, a) argwalk(argmap, a) = walk(identity, argmap, a) # Generic lazy functionality. -using FunctionImplementations: AbstractArrayStyle -struct LazyStyle <: AbstractArrayStyle end -const lazy_style = LazyStyle() +using FunctionImplementations: AbstractArrayImplementationStyle +struct LazyNamedDimsArrayImplementationStyle <: AbstractArrayImplementationStyle end +const lazy_style = LazyNamedDimsArrayImplementationStyle() const maketerm_lazy = lazy_style(maketerm) function maketerm_lazy(type::Type, head, args, metadata)