Skip to content

Commit

Permalink
Update DuplicatedNoNeed error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaibhavdixit02 authored Oct 1, 2024
1 parent 1bc2ce1 commit f846717
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` is no longer now returning or avoiding the primal is passed in for Forward Mode AD.\nPlease use autodiff(Forward, ...) or autodiff(ForwardWithPrimal, ...)",
"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, ...)",
),
)
end
Expand Down

0 comments on commit f846717

Please sign in to comment.