Skip to content

Commit

Permalink
Fix typo in JacobiEllipticEnzymeExt
Browse files Browse the repository at this point in the history
  • Loading branch information
dominic-chang committed Oct 28, 2024
1 parent 0235f5d commit f07f8eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/JacobiEllipticEnzymeExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function forward(
ϕ::Annotation{<:Real},
m::Annotation{<:Real}
)
if EnzymeRuples.needs_primal(config) && EnzymeRules.needs_shadow(config)
if EnzymeRules.needs_primal(config) && EnzymeRules.needs_shadow(config)
if EnzymeRules.width(config) == 1
return Duplicated(
func.val.val, m.val),
Expand Down Expand Up @@ -118,7 +118,7 @@ function forward(
ϕ::Annotation{<:Real},
m::Annotation{<:Real}
)
if EnzymeRuples.needs_primal(config) && EnzymeRules.needs_shadow(config)
if EnzymeRules.needs_primal(config) && EnzymeRules.needs_shadow(config)
if EnzymeRules.width(config) == 1
return Duplicated(
func.val.val, m.val),
Expand Down

0 comments on commit f07f8eb

Please sign in to comment.