The returned value is immediately overwritten after being stored.
}
}
-static SparseMatrix DistanceMatrix_restrict_matching(int *matching, SparseMatrix D){
- if (!D) return NULL;
- assert(0);/* not yet implemented! */
- return NULL;
-}
-
static SparseMatrix DistanceMatrix_restrict_filtering(int *mask, int is_C, int is_F, SparseMatrix D){
/* max independent vtx set based coarsening. Coarsen nodes has mask >= is_C. Fine nodes == is_F. */
if (!D) return NULL;
*cA = SparseMatrix_remove_diagonal(*cA);
- *cD = DistanceMatrix_restrict_matching(matching, D);
- *cD=NULL;
+ *cD = NULL;
break;
case COARSEN_INDEPENDENT_VERTEX_SET: