From 2a24bb50ceeaf9a8751a6ff0fa71a3fb6f29a553 Mon Sep 17 00:00:00 2001 From: William Moses Date: Fri, 29 Nov 2024 19:54:23 -0500 Subject: [PATCH] Speed up activity results no that in noworldage regieme (#2146) --- src/analyses/activity.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyses/activity.jl b/src/analyses/activity.jl index f3dcd3a877..10aebb46cd 100644 --- a/src/analyses/activity.jl +++ b/src/analyses/activity.jl @@ -439,7 +439,7 @@ Try to guess the most appropriate [`Annotation`](@ref) for arguments of type `T` guess_activity(T, convert(API.CDerivativeMode, mode)) @inline function Enzyme.guess_activity(::Type{T}, Mode::API.CDerivativeMode) where {T} - ActReg = active_reg_inner(T, (), nothing) + ActReg = active_reg_nothrow(T, Val(nothing)) if ActReg == AnyState return Const{T} end