From: Matthew Fernandez Date: Mon, 31 May 2021 16:47:55 +0000 (-0700) Subject: remove unused SparseMatrix_delete_empty_columns X-Git-Tag: 2.47.3~10^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb0f66fd2a7641d7d53456666285a054de4d6c2d;p=graphviz remove unused SparseMatrix_delete_empty_columns --- diff --git a/lib/sparse/SparseMatrix.c b/lib/sparse/SparseMatrix.c index 73971cb75..1346ba0f0 100644 --- a/lib/sparse/SparseMatrix.c +++ b/lib/sparse/SparseMatrix.c @@ -2868,10 +2868,6 @@ SparseMatrix SparseMatrix_delete_sparse_columns(SparseMatrix A, int threshold, i } -SparseMatrix SparseMatrix_delete_empty_columns(SparseMatrix A, int **new2old, int *nnew, int inplace){ - return SparseMatrix_delete_sparse_columns(A, 0, new2old, nnew, inplace); -} - SparseMatrix SparseMatrix_set_entries_to_real_one(SparseMatrix A){ real *a; int i; diff --git a/lib/sparse/SparseMatrix.h b/lib/sparse/SparseMatrix.h index ba5a64fa9..cea1151d4 100644 --- a/lib/sparse/SparseMatrix.h +++ b/lib/sparse/SparseMatrix.h @@ -107,7 +107,6 @@ SparseMatrix SparseMatrix_get_augmented(SparseMatrix A); SparseMatrix SparseMatrix_to_square_matrix(SparseMatrix A, int bipartite_options); /* columns with <= threhold entries are deleted */ -SparseMatrix SparseMatrix_delete_empty_columns(SparseMatrix A, int **new2old, int *nnew, int inplace); SparseMatrix SparseMatrix_delete_sparse_columns(SparseMatrix A, int threshold, int **new2old, int *nnew, int inplace); SparseMatrix SparseMatrix_sort(SparseMatrix A);