From a24e08e36a83551033a5867dafa25d853c813ff6 Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Wed, 14 Sep 2022 18:46:33 -0700 Subject: [PATCH] sparse: remove unused 'SparseMatrix_level_sets_khops' --- lib/sparse/SparseMatrix.c | 5 ----- lib/sparse/SparseMatrix.h | 1 - 2 files changed, 6 deletions(-) diff --git a/lib/sparse/SparseMatrix.c b/lib/sparse/SparseMatrix.c index 4f1edfe8f..5743ad8f6 100644 --- a/lib/sparse/SparseMatrix.c +++ b/lib/sparse/SparseMatrix.c @@ -1824,11 +1824,6 @@ void SparseMatrix_level_sets(SparseMatrix A, int root, int *nlevel, int **levels return SparseMatrix_level_sets_internal(khops, A, root, nlevel, levelset_ptr, levelset, mask, reinitialize_mask); -} -void SparseMatrix_level_sets_khops(int khops, SparseMatrix A, int root, int *nlevel, int **levelset_ptr, int **levelset, int **mask, int reinitialize_mask){ - - return SparseMatrix_level_sets_internal(khops, A, root, nlevel, levelset_ptr, levelset, mask, reinitialize_mask); - } void SparseMatrix_weakly_connected_components(SparseMatrix A0, int *ncomp, int **comps, int **comps_ptr){ diff --git a/lib/sparse/SparseMatrix.h b/lib/sparse/SparseMatrix.h index 527e1738e..56066f74c 100644 --- a/lib/sparse/SparseMatrix.h +++ b/lib/sparse/SparseMatrix.h @@ -86,7 +86,6 @@ SparseMatrix SparseMatrix_copy(SparseMatrix A); bool SparseMatrix_has_diagonal(SparseMatrix A); SparseMatrix SparseMatrix_make_undirected(SparseMatrix A);/* make it strictly low diag only, and set flag to undirected */ void SparseMatrix_level_sets(SparseMatrix A, int root, int *nlevel, int **levelset_ptr, int **levelset, int **mask, int reintialize_mask); -void SparseMatrix_level_sets_khops(int khops, SparseMatrix A, int root, int *nlevel, int **levelset_ptr, int **levelset, int **mask, int reintialize_mask); void SparseMatrix_weakly_connected_components(SparseMatrix A0, int *ncomp, int **comps, int **comps_ptr); void SparseMatrix_decompose_to_supervariables(SparseMatrix A, int *ncluster, int **cluster, int **clusterp); SparseMatrix SparseMatrix_get_submatrix(SparseMatrix A, int nrow, int ncol, int *rindices, int *cindices); -- 2.40.0