Skip to content

Commit 2a24bb5

Browse files
authored
Speed up activity results no that in noworldage regieme (#2146)
1 parent 22818bf commit 2a24bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/analyses/activity.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ Try to guess the most appropriate [`Annotation`](@ref) for arguments of type `T`
439439
guess_activity(T, convert(API.CDerivativeMode, mode))
440440

441441
@inline function Enzyme.guess_activity(::Type{T}, Mode::API.CDerivativeMode) where {T}
442-
ActReg = active_reg_inner(T, (), nothing)
442+
ActReg = active_reg_nothrow(T, Val(nothing))
443443
if ActReg == AnyState
444444
return Const{T}
445445
end

0 commit comments

Comments
 (0)