|
96 | 96 |
|
97 | 97 | Base.length(shoot::Shootout) = shoot.N
|
98 | 98 | Base.size(shoot::Shootout) = length(shoot)
|
99 |
| -Base.endof(shoot::Shootout) = length(shoot) |
100 | 99 | Base.getindex(shoot::Shootout,i::Int) = shoot.effs[i]
|
101 | 100 | Base.getindex(shoot::Shootout,::Colon) = shoot.effs
|
102 | 101 | Base.firstindex(shoot::Shootout) = 1
|
|
109 | 108 |
|
110 | 109 | Base.length(set::ShootoutSet) = set.N
|
111 | 110 | Base.size(set::ShootoutSet) = length(set)
|
112 |
| -Base.endof(set::ShootoutSet) = length(set) |
113 | 111 | Base.getindex(set::ShootoutSet,i::Int) = set.shootouts[i]
|
114 | 112 | Base.getindex(set::ShootoutSet,::Colon) = set.shootouts
|
115 | 113 | Base.show(io::IO, set::ShootoutSet) = print(io,"ShootoutSet of $(set.N) shootouts ")
|
|
404 | 402 |
|
405 | 403 | Base.length(wp::WorkPrecision) = wp.N
|
406 | 404 | Base.size(wp::WorkPrecision) = length(wp)
|
407 |
| -Base.endof(wp::WorkPrecision) = length(wp) |
408 | 405 | Base.getindex(wp::WorkPrecision,i::Int) = wp.times[i]
|
409 | 406 | Base.getindex(wp::WorkPrecision,::Colon) = wp.times
|
410 | 407 | Base.firstindex(wp::WorkPrecision) = 1
|
|
418 | 415 |
|
419 | 416 | Base.length(wp_set::WorkPrecisionSet) = wp_set.N
|
420 | 417 | Base.size(wp_set::WorkPrecisionSet) = length(wp_set)
|
421 |
| -Base.endof(wp_set::WorkPrecisionSet) = length(wp_set) |
422 | 418 | Base.getindex(wp_set::WorkPrecisionSet,i::Int) = wp_set.wps[i]
|
423 | 419 | Base.getindex(wp_set::WorkPrecisionSet,::Colon) = wp_set.wps
|
424 | 420 | Base.firstindex(wp_set::WorkPrecisionSet) = 1
|
|
0 commit comments