Skip to content

Commit

Permalink
Update src/Enzyme.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Oct 1, 2024
1 parent f846717 commit 6acd217
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Enzyme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ f(x) = x*x
if A <: DuplicatedNoNeed || A <: BatchDuplicatedNoNeed
throw(
ErrorException(
"Return activity `DuplicatedNoNeed` passed in for Forward Mode AD is no longer now returning or avoiding the primal.\nPlease use autodiff(Forward, ...) or autodiff(ForwardWithPrimal, ...)",
"`DuplicatedNoNeed` passed in as return activity for Forward Mode AD is no longer returning or avoiding the primal.\nPlease use autodiff(Forward, ...) or autodiff(ForwardWithPrimal, ...)",
),
)
end
Expand Down

0 comments on commit 6acd217

Please sign in to comment.