Skip to content

Commit d15cb21

Browse files
committed
Fix spelling
1 parent f5369e9 commit d15cb21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ An abstract super type for any domain type. A domain type `D <: AbstractDomain`
44
- `Base.∈(val, ::D)`
55
- `Base.rand(::D)`
66
- `Base.length(::D)` that is the number of elements in a discrete domain, and the distance between bounds or similar for a continuous domain
7-
Addtionally, if the domain is used in a dynamic context, it can extend
7+
Additionally, if the domain is used in a dynamic context, it can extend
88
- `add!(::D, args)`
99
- `delete!(::D, args)`
1010
where `args` depends on `D`'s structure
@@ -62,7 +62,7 @@ Convert various arguments into valid domains format.
6262
"""
6363
to_domains(domain_sizes::Vector{Int}) = map(ds -> domain(0:ds), domain_sizes)
6464

65-
function to_domains(X, ds::Int = δ_extrema(X) + 1)
65+
function to_domains(X, ds::Int=δ_extrema(X) + 1)
6666
d = domain(0:ds-1)
6767
return fill(d, length(first(X)))
6868
end

0 commit comments

Comments
 (0)