Skip to content

Commit acb3b25

Browse files
committed
Fix typos and docs.
1 parent f68af1a commit acb3b25

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/commons/debugs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ create a [`DebugAction`](@ref) where
12311231
"""
12321232
DebugActionFactory(d::String) = DebugDivider(d)
12331233
DebugActionFactory(a::A) where {A <: DebugAction} = a
1234-
# Depreacted
1234+
# Deprecated
12351235
function DebugActionFactory(f::F) where {F <: Function}
12361236
@warn """
12371237
the `DebugCallback` struct is deprecated. Passing functions to `debug = `

tutorials/HowToCallback.qmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ There are two different variants to introduce callbacks: A single callback that
5353

5454
The general callback function has to have the signature of the form
5555
```
56-
cb(hook::Symbol, problem::AbstractManoiptProblem, state::AbstractManoptSolverState, k::Int)
56+
cb(hook::Symbol, problem::AbstractManoptProblem, state::AbstractManoptSolverState, k::Int)
5757
```
5858

5959
where the `hook` is the specific hook name currently calling `cb`,
@@ -115,7 +115,7 @@ one can of course use the method from the last section and use the `if` variant
115115
a signature not requiring the symbol as before, that is
116116

117117
```
118-
cb(problem::AbstractManoiptProblem, state::AbstractManoptSolverState, k::Int)
118+
cb(problem::AbstractManoptProblem, state::AbstractManoptSolverState, k::Int)
119119
```
120120

121121
and add it to just one of the hooks.

0 commit comments

Comments
 (0)