Skip to content

Commit edb605f

Browse files
Merge pull request #30 from JuliaDiffEq/depwarns
fix more depwarns
2 parents 75f7d7d + f7098b8 commit edb605f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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-beta
1+
julia 0.7-beta2
22
ParameterizedFunctions 2.0.0
33
DiffEqBase 3.0.3
44
DiffEqOperators

src/jump_premade_problems.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ genenetwork = construct_genenetwork(N)
175175
rs = eval( Meta.parse(genenetwork) )
176176
u0 = zeros(Int, length(rs.syms))
177177
for i = 1:(2*N)
178-
u0[findfirst(rs.syms, Symbol("G$(i)"))] = 1
178+
u0[something(findfirst(isequal(Symbol("G$(i)")),rs.syms),0)] = 1
179179
end
180180
tf = 2000.0
181181
prob = DiscreteProblem(u0, (0.0, tf))

0 commit comments

Comments
 (0)