Skip to content

Commit b2b372f

Browse files
fix test function names
1 parent 77ff1d3 commit b2b372f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/benchmark_tests.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,16 +61,16 @@ wp_set[end]
6161

6262

6363
# 2D Linear ODE
64-
function f(t,u,du)
64+
function f_2dlin(t,u,du)
6565
for i in 1:length(u)
6666
du[i] = 1.01*u[i]
6767
end
6868
end
69-
function (p::typeof(f))(::Type{Val{:analytic}},t,u₀)
69+
function (p::typeof(f_2dlin))(::Type{Val{:analytic}},t,u₀)
7070
u₀*exp(1.01*t)
7171
end
7272
tspan = (0.0,10.0)
73-
prob = ODEProblem(f,rand(100,100),tspan)
73+
prob = ODEProblem(f_2dlin,rand(100,100),tspan)
7474

7575
abstols = 1./10.^(3:7)
7676
reltols = 1./10.^(0:4)

0 commit comments

Comments
 (0)