]> granicus.if.org Git - graphviz/commitdiff
remove unused SparseMatrix_import_binary
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 22 May 2021 01:16:38 +0000 (18:16 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Fri, 28 May 2021 04:07:28 +0000 (21:07 -0700)
lib/sparse/SparseMatrix.c
lib/sparse/SparseMatrix.h

index 1d5faa3aed9ef0533bf0a5b474da1c307ba216fb..bafcc791af8115cf2d5d7dd65fbe5ba63b69cd84 100644 (file)
@@ -662,16 +662,6 @@ SparseMatrix SparseMatrix_import_binary_fp(FILE *f){
   return A;
 }
 
-
-SparseMatrix SparseMatrix_import_binary(char *name){
-  SparseMatrix A = NULL;
-  FILE *f;
-  f = fopen(name, "rb");
-
-  A = SparseMatrix_import_binary_fp(f);
-  return A;
-}
-
 static void SparseMatrix_export_coord(FILE *f, SparseMatrix A){
   int *ia, *ja;
   real *a;
index 5f6b2cbfd96065bb3c8de839b0e658b4990a60fa..7868f9050d6d79b8408604a85707b21f40ebae27 100644 (file)
@@ -56,7 +56,6 @@ void SparseMatrix_print(char *, SparseMatrix A);/*print to stdout in Mathematica
 
 void SparseMatrix_export(FILE *f, SparseMatrix A);/* export into MM format except the header */
 
-SparseMatrix SparseMatrix_import_binary(char *name);
 SparseMatrix SparseMatrix_import_binary_fp(FILE *f);/* import into a preopenned file */
 
 void SparseMatrix_delete(SparseMatrix A);