Skip to content

Commit 6717f94

Browse files
Merge pull request #12 from JuliaDiffEq/ChrisRackauckas-patch-1
run femto
2 parents 908e72e + 16ba43f commit 6717f94

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
julia 0.7-
1+
julia 0.7-beta2
22
RecipesBase 0.1.0
33
DiffEqBase 3.0.0
44
RecursiveArrayTools 0.4.0

src/benchmark.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mutable struct ShootoutSet
2222
end
2323

2424
function ode_shootout(args...;kwargs...)
25-
warn("ode_shootout is deprecated. Use ShootOut instead")
25+
@warn("ode_shootout is deprecated. Use ShootOut instead")
2626
ShootOut(args...;kwargs...)
2727
end
2828

@@ -63,12 +63,12 @@ function Shootout(prob,setups;appxsol=nothing,numruns=20,names=nothing,error_est
6363
for j in 1:N, i in 1:N
6464
effratios[i,j] = effs[i]/effs[j]
6565
end
66-
bestidx = find((y)->y==maximum(effs),effs)[1]; winner = names[bestidx]
66+
bestidx = findall((y)->y==maximum(effs),effs)[1]; winner = names[bestidx]
6767
return Shootout(setups,times,errors,effs,effratios,solutions,names,N,bestidx,winner)
6868
end
6969

7070
function ode_shootoutset(args...;kwargs...)
71-
warn("ode_shootoutset is deprecated. Use ShootoutSet instead")
71+
@warn("ode_shootoutset is deprecated. Use ShootoutSet instead")
7272
ShootoutSet(args...;kwargs...)
7373
end
7474

0 commit comments

Comments
 (0)