From 5a3bf77535fcb34b790f55311982a223bcf4ac9d Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sat, 19 Jun 2021 14:07:01 -0700 Subject: [PATCH] remove unused lib/sparse macros --- lib/sparse/SparseMatrix.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/sparse/SparseMatrix.h b/lib/sparse/SparseMatrix.h index cc70d4176..b1dbc5d79 100644 --- a/lib/sparse/SparseMatrix.h +++ b/lib/sparse/SparseMatrix.h @@ -122,20 +122,8 @@ SparseMatrix SparseMatrix_from_dense(int m, int n, real *x); #define SparseMatrix_set_hemitian(A) set_flag((A)->property, MATRIX_HERMITIAN) -#define SparseMatrix_clear_undirected(A) clear_flag((A)->property, MATRIX_UNDIRECTED) -#define SparseMatrix_clear_symmetric(A) clear_flag((A)->property, MATRIX_SYMMETRIC) -#define SparseMatrix_clear_pattern_symmetric(A) clear_flag((A)->property, MATRIX_PATTERN_SYMMETRIC) -#define SparseMatrix_clear_skew(A) clear_flag((A)->property, MATRIX_SKEW) -#define SparseMatrix_clear_hemitian(A) clear_flag((A)->property, MATRIX_HERMITIAN) - - #define SparseMatrix_known_undirected(A) test_flag((A)->property, MATRIX_UNDIRECTED) #define SparseMatrix_known_symmetric(A) test_flag((A)->property, MATRIX_SYMMETRIC) #define SparseMatrix_known_strucural_symmetric(A) test_flag((A)->property, MATRIX_PATTERN_SYMMETRIC) -#define SparseMatrix_known_skew(A) test_flag((A)->property, MATRIX_SKEW) -#define SparseMatrix_known_hemitian(A) test_flag((A)->property, MATRIX_HERMITIAN) - - - #endif -- 2.40.0