Skip to content

Commit 4eeba5d

Browse files
Apply suggestion from @ChrisRackauckas
1 parent 448a6a1 commit 4eeba5d

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

ext/FunctionWrappersWrappersEnzymeExt.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,7 @@ end
104104
# IMPORTANT: forward the `RuntimeActivity` and `StrongZero` flags from the
105105
# outer config into the delegated `Enzyme.autodiff` call. Prior to this
106106
# fix the rule hard-coded `Forward`, silently dropping
107-
# `set_runtime_activity(Forward)` on the way down into `f_orig`. That
108-
# broke `Rosenbrock23(autodiff = AutoEnzyme(set_runtime_activity(Forward)))`
109-
# on any time-dependent in-place RHS:
110-
# EnzymeRuntimeActivityError at `broadcast_unalias` → `mightalias`
111-
# despite the user explicitly setting runtime activity.
107+
# `set_runtime_activity(Forward)` on the way down into `f_orig`.
112108
function EnzymeRules.forward(
113109
::EnzymeRules.FwdConfig{false, false, W, RuntimeActivity, StrongZero},
114110
func::EnzymeCore.Const{<:FunctionWrappersWrapper},

0 commit comments

Comments
 (0)