]> granicus.if.org Git - graphviz/commitdiff
remove unused SparseMatrix_delete_empty_columns
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 31 May 2021 16:47:55 +0000 (09:47 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 6 Jun 2021 18:06:37 +0000 (11:06 -0700)
lib/sparse/SparseMatrix.c
lib/sparse/SparseMatrix.h

index 73971cb75f876ff4ad70e6a14f2af449332f4f7e..1346ba0f0d64d5cc657204939b9c68729fa1c821 100644 (file)
@@ -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;
index ba5a64fa9a5695b8db768d4e272c331023143adb..cea1151d448e4073d5aea4b38838271bf7b2df43 100644 (file)
@@ -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);