Skip to content

Commit

Permalink
fix remove ! in callback
Browse files Browse the repository at this point in the history
Co-authored-by: Tor Erlend Fjelde <[email protected]>
  • Loading branch information
Red-Portal and torfjelde authored Oct 23, 2023
1 parent 6dc0bb7 commit e941ad4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/optimize.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Optimize the variational objective `objective` targeting the problem `problem` b
# Callback
The callback function `callback!` has a signature of
cb(; stat, state, param, restructure, gradient)
callback!(; stat, state, param, restructure, gradient)
The arguments are as follows:
- `stat`: Statistics gathered during the current iteration. The content will vary depending on `objective`.
Expand Down

0 comments on commit e941ad4

Please sign in to comment.