Skip to content

Commit e325419

Browse files
don't let the dispatches overlap
1 parent b7181b8 commit e325419

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/modelingtoolkitize.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,15 +193,15 @@ end
193193
prob = ODEProblem(ff911, zeros(2), (0, 1.0))
194194
@test_nowarn modelingtoolkitize(prob)
195195

196-
f(x,p,t) = p*x
196+
k(x,p,t) = p*x
197197
x0 = 1.0
198198
p = 0.98
199199
tspan = (0.0,1.0)
200-
prob = ODEProblem(f,x0,tspan,p)
200+
prob = ODEProblem(k,x0,tspan,p)
201201
sys = modelingtoolkitize(prob)
202202

203-
f(x,p,t) = 0.98*x
203+
k(x,p,t) = 0.98*x
204204
x0 = 1.0
205205
tspan = (0.0,1.0)
206-
prob = ODEProblem(f,x0,tspan)
206+
prob = ODEProblem(k,x0,tspan)
207207
sys = modelingtoolkitize(prob)

0 commit comments

Comments
 (0)