Skip to content

Commit d622358

Browse files
authored
minor typos (#7)
1 parent 86728cd commit d622358

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sectors.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ abstract type Sector end
3939
Singleton type to represent an iterator over the possible values of type `I`, whose
4040
instance is obtained as `values(I)`. For a new `I::Sector`, the following should be defined
4141
* `Base.iterate(::SectorValues{I}[, state])`: iterate over the values
42-
* `Base.IteratorSize(::Type{SectorValues{I}})`: `HasLenght()`, `SizeUnkown()`
42+
* `Base.IteratorSize(::Type{SectorValues{I}})`: `HasLength()`, `SizeUnknown()`
4343
or `IsInfinite()` depending on whether the number of values of type `I` is finite
4444
(and sufficiently small) or infinite; for a large number of values, `SizeUnknown()` is
45-
recommend because this will trigger the use of `GenericGradedSpace`.
45+
recommended because this will trigger the use of `GenericGradedSpace`.
4646
If `IteratorSize(I) == HasLength()`, also the following must be implemented:
4747
* `Base.length(::SectorValues{I})`: the number of different values
4848
* `Base.getindex(::SectorValues{I}, i::Int)`: a mapping between an index `i` and an
@@ -413,7 +413,7 @@ end
413413

414414
# SectorSet:
415415
#-------------------------------------------------------------------------------
416-
# Custum generator to represent sets of sectors with type inference
416+
# Custom generator to represent sets of sectors with type inference
417417
struct SectorSet{I<:Sector,F,S}
418418
f::F
419419
set::S

0 commit comments

Comments
 (0)