Skip to content

Commit 243d1da

Browse files
committed
fix spell typos
1 parent 0ddb82d commit 243d1da

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/CTModels.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ See also: [`Time`](@ref), [`Times`](@ref).
8888
const TimesDisc = Union{Times,StepRangeLen}
8989

9090
"""
91-
Type alias for a dictionnary of constraints. This is used to store constraints before building the model.
91+
Type alias for a dictionary of constraints. This is used to store constraints before building the model.
9292
9393
```@example
9494
julia> const TimesDisc = Union{Times, StepRangeLen}

src/default.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ __format() = :JLD
1616
$(TYPEDSIGNATURES)
1717
1818
Used to set the default value of the label of a constraint.
19-
A unique value is given to each constraint using the `gensym` function and prefixing by `:unamed`.
19+
A unique value is given to each constraint using the `gensym` function and prefixing by `:unnamed`.
2020
"""
21-
__constraint_label() = gensym(:unamed)
21+
__constraint_label() = gensym(:unnamed)
2222

2323
"""
2424
$(TYPEDSIGNATURES)

src/types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ struct SolverInfos{TI<:Dict{Symbol,Any}} <: AbstractSolverInfos
558558
message::String # the message corresponding to the status criterion
559559
successful::Bool # whether or not the method has finished successfully: CN1, stagnation vs iterations max
560560
constraints_violation::Float64 # the constraints violation
561-
infos::TI # additional informations
561+
infos::TI # additional information
562562
end
563563

564564
# ------------------------------------------------------------------------------ #

test/test_times.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function test_times()
7272
@test_throws CTBase.UnauthorizedCall CTModels.time!(ocp, t0=0.0, indf=1)
7373
@test_throws CTBase.UnauthorizedCall CTModels.time!(ocp, ind0=1, indf=2)
7474

75-
# index must statisfy 1 <= index <= q
75+
# index must satisfy 1 <= index <= q
7676
ocp = CTModels.PreModel()
7777
CTModels.variable!(ocp, 2)
7878
@test_throws CTBase.IncorrectArgument CTModels.time!(ocp, ind0=0, tf=10.0)

0 commit comments

Comments
 (0)