diff --git a/Project.toml b/Project.toml index fb8f3f8917..5f95ab4212 100644 --- a/Project.toml +++ b/Project.toml @@ -18,7 +18,7 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c" [compat] CEnum = "0.4" -EnzymeCore = "0.5.2" +EnzymeCore = "0.5.3" Enzyme_jll = "0.0.86" GPUCompiler = "0.21, 0.22, 0.23, 0.24" LLVM = "6.1" diff --git a/lib/EnzymeCore/Project.toml b/lib/EnzymeCore/Project.toml index bc8b4d110f..925722725b 100644 --- a/lib/EnzymeCore/Project.toml +++ b/lib/EnzymeCore/Project.toml @@ -1,7 +1,7 @@ name = "EnzymeCore" uuid = "f151be2c-9106-41f4-ab19-57ee4f262869" authors = ["William Moses ", "Valentin Churavy "] -version = "0.5.2" +version = "0.5.3" [deps] Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e" diff --git a/lib/EnzymeCore/src/EnzymeCore.jl b/lib/EnzymeCore/src/EnzymeCore.jl index 0f953f092c..9cfd6e8f35 100644 --- a/lib/EnzymeCore/src/EnzymeCore.jl +++ b/lib/EnzymeCore/src/EnzymeCore.jl @@ -48,7 +48,7 @@ Enzyme will auto-differentiate in respect `Active` arguments. struct Active{T} <: Annotation{T} val::T @inline Active(x::T1) where {T1} = new{T1}(x) - @inline Active(x::T1) where {T1 <: AbstractArray} = error("Unsupported Active{"*string(T1)*"}, consider Duplicated or Const") + @inline Active(x::T1) where {T1 <: Array} = error("Unsupported Active{"*string(T1)*"}, consider Duplicated or Const") end Adapt.adapt_structure(to, x::Active) = Active(adapt(to, x.val))