Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Commit 9d5da8f

Browse files
committed
fixed tests
1 parent 8bdab49 commit 9d5da8f

File tree

3 files changed

+3
-19
lines changed

3 files changed

+3
-19
lines changed

Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ LightGraphs = "093fc24a-ae57-5d10-9952-331d41423f4d"
1212
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1313
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
1414
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
15+
SparsityDetection = "684fba80-ace3-11e9-3d08-3bc7ed6f96df"
1516
VertexSafeGraphs = "19fa3120-7c27-5ec5-8db8-b0b0aa330d6f"
1617

1718
[compat]

src/coloring/backtracking_coloring.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ end
130130
free_colors(x::Integer,
131131
A::AbstractVector{<:Integer},
132132
colors::AbstractVector{<:Integer},
133-
F::Array{Integer64,1},
133+
F::Array{Integer,1},
134134
g::LightGraphs.AbstractGraph,
135135
opt::Integer)
136136
@@ -150,7 +150,7 @@ opt: Current optimal number of colors to be used in the coloring of graph g
150150
function free_colors(x::Integer,
151151
A::AbstractVector{<:Integer},
152152
colors::AbstractVector{<:Integer},
153-
F::Array{Integer64,1},
153+
F::Array{Integer,1},
154154
g::LightGraphs.AbstractGraph,
155155
opt::Integer)
156156
index = -1

test/runtests.jl

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
1-
<<<<<<< HEAD
2-
using SparseDiffTools
3-
using Test
4-
5-
6-
@testset "Exact coloring via contraction" begin include("test_contraction.jl") end
7-
@testset "Exact coloring via backtracking" begin include("test_bsc.jl") end
8-
@testset "Greedy distance-1 coloring" begin include("test_greedy_d1.jl") end
9-
@testset "Greedy star coloring" begin include("test_greedy_star.jl") end
10-
@testset "Matrix to graph conversion" begin include("test_matrix2graph.jl") end
11-
@testset "AD using color vector" begin include("test_ad.jl") end
12-
@testset "Integration test" begin include("test_integration.jl") end
13-
@testset "Special matrices" begin include("test_specialmatrices.jl") end
14-
@testset "Jacobian Vecs and Hessian Vecs" begin include("test_jaches_products.jl") end
15-
@testset "Program sparsity computation" begin include("program_sparsity/testall.jl") end
16-
=======
171
using SafeTestsets
182

193
@time @safetestset "Exact coloring via contraction" begin include("test_contraction.jl") end
@@ -24,4 +8,3 @@ using SafeTestsets
248
@time @safetestset "Integration test" begin include("test_integration.jl") end
259
@time @safetestset "Special matrices" begin include("test_specialmatrices.jl") end
2610
@time @safetestset "Jac Vecs and Hes Vecs" begin include("test_jaches_products.jl") end
27-
>>>>>>> 1b115b8d6dd386c46a0474c736e91aae710afd3d

0 commit comments

Comments
 (0)