Skip to content

Commit 7c68325

Browse files
Merge pull request #15 from JuliaDiffEq/myb/1.0
Compatibility with Julia 1.0
2 parents 4a94c4d + 36141ab commit 7c68325

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/benchmark.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ end
9696

9797
Base.length(shoot::Shootout) = shoot.N
9898
Base.size(shoot::Shootout) = length(shoot)
99-
Base.endof(shoot::Shootout) = length(shoot)
10099
Base.getindex(shoot::Shootout,i::Int) = shoot.effs[i]
101100
Base.getindex(shoot::Shootout,::Colon) = shoot.effs
102101
Base.firstindex(shoot::Shootout) = 1
@@ -109,7 +108,6 @@ end
109108

110109
Base.length(set::ShootoutSet) = set.N
111110
Base.size(set::ShootoutSet) = length(set)
112-
Base.endof(set::ShootoutSet) = length(set)
113111
Base.getindex(set::ShootoutSet,i::Int) = set.shootouts[i]
114112
Base.getindex(set::ShootoutSet,::Colon) = set.shootouts
115113
Base.show(io::IO, set::ShootoutSet) = print(io,"ShootoutSet of $(set.N) shootouts ")
@@ -404,7 +402,6 @@ end
404402

405403
Base.length(wp::WorkPrecision) = wp.N
406404
Base.size(wp::WorkPrecision) = length(wp)
407-
Base.endof(wp::WorkPrecision) = length(wp)
408405
Base.getindex(wp::WorkPrecision,i::Int) = wp.times[i]
409406
Base.getindex(wp::WorkPrecision,::Colon) = wp.times
410407
Base.firstindex(wp::WorkPrecision) = 1
@@ -418,7 +415,6 @@ end
418415

419416
Base.length(wp_set::WorkPrecisionSet) = wp_set.N
420417
Base.size(wp_set::WorkPrecisionSet) = length(wp_set)
421-
Base.endof(wp_set::WorkPrecisionSet) = length(wp_set)
422418
Base.getindex(wp_set::WorkPrecisionSet,i::Int) = wp_set.wps[i]
423419
Base.getindex(wp_set::WorkPrecisionSet,::Colon) = wp_set.wps
424420
Base.firstindex(wp_set::WorkPrecisionSet) = 1

src/convergence.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ length(simres::ConvergenceSimulation)
133133
Returns the number of simultations in the Convergence Simulation
134134
"""
135135
Base.length(sim::ConvergenceSimulation) = sim.N
136-
Base.endof( sim::ConvergenceSimulation) = length(sim)
137136
Base.getindex(sim::ConvergenceSimulation,i::Int) = sim.solutions[i]
138137
Base.getindex(sim::ConvergenceSimulation,i::Int,I::Int...) = sim.solutions[i][I]
139138
Base.lastindex(sim::ConvergenceSimulation) = lastindex(sim.solutions)

0 commit comments

Comments
 (0)