Skip to content

Commit 8e8417f

Browse files
committed
bug fixes
1 parent eb40942 commit 8e8417f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/test_greedy_star.jl

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ colors.
4545
4646
=#
4747

48-
g = SimpleGraph(4)
48+
gx = SimpleGraph(4)
4949

50-
add_edge!(g,1,2)
51-
add_edge!(g,1,3)
52-
add_edge!(g,2,3)
53-
add_edge!(g,3,4)
50+
add_edge!(gx,1,2)
51+
add_edge!(gx,1,3)
52+
add_edge!(gx,2,3)
53+
add_edge!(gx,3,4)
5454

55-
push!(test_graphs, g)
55+
push!(test_graphs, gx)
5656

5757
#begin testing
5858
for i in 1:6
@@ -91,7 +91,7 @@ for i in 1:6
9191

9292
#test condition 2
9393
for j = vertices(g)
94-
walk = LighGraphs.saw(g, j, 4)
94+
walk = LightGraphs.saw(g, j, 4)
9595
walk_colors = zeros(Int64, 0)
9696
if length(walk) >= 4
9797
for t in walk

0 commit comments

Comments
 (0)