Skip to content
This repository has been archived by the owner on Oct 21, 2021. It is now read-only.

Commit

Permalink
Avoid deprecation warnings on Julia 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
garborg committed Oct 27, 2014
1 parent 92b6f76 commit e767937
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/adjlist.jl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ add_edge!(gd, 2, 3)

@test num_edges(gd) == 3

nbs = {[2, 3], [3], Int[]}
nbs = Any[[2, 3], [3], Int[]]
for i = 1 : 3
@test out_degree(i, gd) == length(nbs[i])
@test out_neighbors(i, gd) == nbs[i]
Expand All @@ -60,7 +60,7 @@ add_edge!(gu, 2, 3)

@test num_edges(gu) == 2

nbs = {[2], [1, 3], [2]}
nbs = Any[[2], [1, 3], [2]]
for i = 1 : 3
@test out_degree(i, gu) == length(nbs[i])
@test out_neighbors(i, gu) == nbs[i]
Expand Down

0 comments on commit e767937

Please sign in to comment.