Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav-arya authored Jun 20, 2024
1 parent 71baa30 commit 24788b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ If `forward_u` is not provided, it is randomly generated.
Additionally, this algorithm relies on the ability of `Enzyme.jl` to differentiate the forward stochastic triple run.
It is recommended to check that the primal function `X` is type stable for its input `p` using a tool such as
[JET.jl](https://github.com/aviatesk/JET.jl), with all code executed in a function with no global state.
In addition, sometimes `X` may be type stable but stochastic triples introduce additional type stabilities.
In addition, sometimes `X` may be type stable but stochastic triples introduce additional type instabilities.
This can be debugged by checking type stability of Enzyme's target, which is
`Base.get_extension(StochasticAD, :StochasticADEnzymeExt).enzyme_target(u, X, p, backend)`,
where `u` is a test direction.
Expand Down

0 comments on commit 24788b5

Please sign in to comment.