Skip to content

Commit 9b0a060

Browse files
committed
Refactor: change DEBUG flag to DEBUG_CFL_REACHABILITY
1 parent c9848e7 commit 9b0a060

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

experimental/algorithm/LAGraph_CFL_reachability.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -281,10 +281,10 @@ GrB_Info LAGraph_CFL_reachability
281281
T[term_rule.nonterm], GrB_NULL, GrB_NULL, GxB_PAIR_BOOL,
282282
T[term_rule.nonterm], true_scalar, adj_matrices[term_rule.prod_A], true_scalar, GrB_NULL
283283
);
284-
284+
285285
t_empty_flags[term_rule.nonterm] = false;
286286

287-
#ifdef DEBUG
287+
#ifdef DEBUG_CFL_REACHBILITY
288288
GxB_Matrix_iso(&iso_flag, T[term_rule.nonterm]);
289289
printf("[TERM] eWiseUnion: NONTERM: %d (ISO: %d)\n", term_rule.nonterm, iso_flag);
290290
#endif
@@ -307,7 +307,7 @@ GrB_Info LAGraph_CFL_reachability
307307

308308
t_empty_flags[eps_rule.nonterm] = false;
309309

310-
#ifdef DEBUG
310+
#ifdef DEBUG_CFL_REACHBILITY
311311
GxB_Matrix_iso(&iso_flag, T[eps_rule.nonterm]);
312312
printf("[EPS] eWiseUnion: NONTERM: %d (ISO: %d)\n",
313313
eps_rule.nonterm, iso_flag);
@@ -339,7 +339,7 @@ GrB_Info LAGraph_CFL_reachability
339339
changed = changed || (nnzs[bin_rule.nonterm] != new_nnz);
340340
nnzs[bin_rule.nonterm] = new_nnz;
341341

342-
#ifdef DEBUG
342+
#ifdef DEBUG_CFL_REACHBILITY
343343
GxB_Matrix_iso(&iso_flag, T[bin_rule.nonterm]);
344344
printf("[TERM1 TERM2] MULTIPLY, S: %d, A: %d, B: %d, "
345345
"I: %ld (ISO: %d)\n",
@@ -349,7 +349,7 @@ GrB_Info LAGraph_CFL_reachability
349349
}
350350
}
351351

352-
#ifdef DEBUG
352+
#ifdef DEBUG_CFL_REACHBILITY
353353
for (int32_t i = 0; i < nonterms_count; i++) {
354354
printf("MATRIX WITH INDEX %d:\n", i);
355355
GxB_print(T[i], GxB_SUMMARY);

0 commit comments

Comments
 (0)