File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ abstract type Sector end
3939Singleton type to represent an iterator over the possible values of type `I`, whose
4040instance 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`.
4646If `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
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
417417struct SectorSet{I<: Sector ,F,S}
418418 f:: F
419419 set:: S
You can’t perform that action at this time.
0 commit comments