File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ An abstract super type for any domain type. A domain type `D <: AbstractDomain`
4
4
- `Base.∈(val, ::D)`
5
5
- `Base.rand(::D)`
6
6
- `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
8
8
- `add!(::D, args)`
9
9
- `delete!(::D, args)`
10
10
where `args` depends on `D`'s structure
@@ -62,7 +62,7 @@ Convert various arguments into valid domains format.
62
62
"""
63
63
to_domains (domain_sizes:: Vector{Int} ) = map (ds -> domain (0 : ds), domain_sizes)
64
64
65
- function to_domains (X, ds:: Int = δ_extrema (X) + 1 )
65
+ function to_domains (X, ds:: Int = δ_extrema (X) + 1 )
66
66
d = domain (0 : ds- 1 )
67
67
return fill (d, length (first (X)))
68
68
end
You can’t perform that action at this time.
0 commit comments