Skip to content

Commit 1a581dc

Browse files
committed
fix a few typos.
1 parent 5f68dee commit 1a581dc

8 files changed

Lines changed: 10 additions & 8 deletions

File tree

_typos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[default.extend-words]
2+
# <typo> = "<correction>"

src/Manopt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ Rn(args...; kwargs...) = Rn(Val(Rn_default()), args...; kwargs...)
171171
Rn_default()
172172
173173
Specify a default value to dispatch [`Rn`](@ref) on.
174-
This default is set to `Manifolds`, indicating, that when this package is loded,
174+
This default is set to `Manifolds`, indicating, that when this package is loaded,
175175
it is the preferred package to ask for a vector space space.
176176
177177
The default within `Manopt.jl` is to use the [`DefaultManifold`](@extref ManifoldsBase.DefaultManifold) from `ManifoldsBase.jl`.
178-
If you load `Manifolds.jl` this switches to using [`Euclidan`](@extref Manifolds.Euclidean).
178+
If you load `Manifolds.jl` this switches to using [`Euclidean`](@extref Manifolds.Euclidean).
179179
"""
180180
Rn_default() = :Manifolds
181181
Rn(::Val{T}, args...; kwargs...) where {T} = DefaultManifold(args...; kwargs...)

src/helpers/test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function DummyDecoratedObjective(
3636
end
3737

3838
struct DummyProblem{M <: AbstractManifold} <: AbstractManoptProblem{M} end
39-
struct DummmyStoppingCriteriaSet <: StoppingCriterionSet end
39+
struct DummyStoppingCriteriaSet <: StoppingCriterionSet end
4040
struct DummyStoppingCriterion <: StoppingCriterion end
4141

4242
mutable struct DummyState <: AbstractManoptSolverState

src/plans/manifold_default_factory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A generic factory to postpone the instantiation of certain types from within $(_link(:Manopt)),
55
in order to be able to adapt it to defaults from different manifolds and/or postpone the
6-
decission on which manifold to use to a later point
6+
decision on which manifold to use to a later point
77
88
For now this is established for
99

src/solvers/difference_of_convex_algorithm.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ $(_var(:Keyword, :sub_kwargs))
161161
$(_var(:Keyword, :sub_state; default = "([`GradientDescentState`](@ref) or [`TrustRegionsState`](@ref) if `sub_hess` is provided)"))
162162
$(_var(:Keyword, :sub_problem; default = "[`DefaultManoptProblem`](@ref)`(M, sub_objective)`"))
163163
* `sub_stopping_criterion=`[`StopAfterIteration`](@ref)`(300)`$(_sc(:Any))[`StopWhenStepsizeLess`](@ref)`(1e-9)`$(_sc(:Any))[`StopWhenGradientNormLess`](@ref)`(1e-9)`:
164-
a stopping criterion used withing the default `sub_state=`
164+
a stopping criterion used within the default `sub_state=`
165165
$(_note(:KeywordUsedIn, "sub_state"))
166166
* `sub_stepsize=`[`ArmijoLinesearch`](@ref)`(M)`) specify a step size used within the `sub_state`.
167167
$(_note(:KeywordUsedIn, "sub_state"))

test/plans/test_record.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ Manopt.get_parameter(d::TestRecordParameterState, ::Val{:value}) = d.value
185185
g(dmp, gds, 2)
186186
@test g.recorded_values == [0.0, 1.0]
187187
end
188-
@testset "RecordStopingReason" begin
188+
@testset "RecordStoppingReason" begin
189189
g = RecordStoppingReason()
190190
@test repr(g) == "RecordStoppingReason()"
191191
@test Manopt.status_summary(g) == ":Stop"

test/plans/test_stopping_criteria.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ using Manifolds, ManifoldsBase, Manopt, Test, ManifoldsBase, Dates
33
@testset "StoppingCriteria" begin
44
@testset "Generic Tests" begin
55
@test_throws ErrorException get_stopping_criteria(
6-
Manopt.Test.DummmyStoppingCriteriaSet()
6+
Manopt.Test.DummyStoppingCriteriaSet()
77
)
88

99
s = StopWhenAll(StopAfterIteration(10), StopWhenChangeLess(Euclidean(), 0.1))

tutorials/getstarted.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ m3 = gradient_descent(M, f, grad_f, data[1];
138138
```
139139

140140
We can finally use another way to determine the stepsize, for example
141-
a little more expensive [`ArmijoLineSeach`](https://manoptjl.org/stable/plans/stepsize/#Manopt.ArmijoLinesearch) than the default [stepsize](https://manoptjl.org/stable/plans/stepsize/) rule used on the Sphere.
141+
a little more expensive [`ArmijoLineSearch`](https://manoptjl.org/stable/plans/stepsize/#Manopt.ArmijoLinesearch) than the default [stepsize](https://manoptjl.org/stable/plans/stepsize/) rule used on the Sphere.
142142

143143
```{julia}
144144
m4 = gradient_descent(M, f, grad_f, data[1];

0 commit comments

Comments
 (0)