15
15
// Querying Using Linear Algebra", URL:
16
16
// https://disser.spbu.ru/files/2022/disser_azimov.pdf
17
17
18
+ // FIXME: some of the code below is not covered by the test suite, "make cov".
19
+ // See the FIXMEs below.
20
+
18
21
#define LG_FREE_WORK \
19
22
{ \
20
23
LAGraph_Free ((void **) &nnzs, msg) ; \
@@ -172,6 +175,7 @@ GrB_Info LAGraph_CFL_reachability
172
175
ADD_TO_MSG ("Adjacency matrices with these indexes are null: " );
173
176
ADD_TO_MSG ("%d" , i );
174
177
} else {
178
+ // FIXME: this case is not tested.
175
179
ADD_TO_MSG (", %d" , i );
176
180
}
177
181
@@ -220,6 +224,7 @@ GrB_Info LAGraph_CFL_reachability
220
224
221
225
// [Variable -> eps]
222
226
if (is_rule_eps ) {
227
+ // FIXME: this case is not tested.
223
228
eps_rules [eps_rules_count ++ ] = i ;
224
229
225
230
continue ;
@@ -242,6 +247,7 @@ GrB_Info LAGraph_CFL_reachability
242
247
243
248
if (rule .prod_A < -1 || rule .prod_A >= nonterms_count || rule .prod_B < -1 ||
244
249
rule .prod_B >= nonterms_count ) {
250
+ // FIXME: this case is not tested.
245
251
ADD_INDEX_TO_ERROR_RULE (nonterm_err , i );
246
252
}
247
253
@@ -280,6 +286,7 @@ GrB_Info LAGraph_CFL_reachability
280
286
GRB_TRY (GrB_Matrix_nvals (& adj_matrix_nnz , adj_matrices [term_rule .prod_A ]));
281
287
282
288
if (adj_matrix_nnz == 0 ) {
289
+ // FIXME: this case is not tested.
283
290
continue ;
284
291
}
285
292
@@ -304,6 +311,7 @@ GrB_Info LAGraph_CFL_reachability
304
311
305
312
// Rule [Variable -> eps]
306
313
for (size_t i = 0 ; i < eps_rules_count ; i ++ ) {
314
+ // FIXME: this case is not tested.
307
315
LAGraph_rule_WCNF eps_rule = rules [eps_rules [i ]];
308
316
309
317
GxB_eWiseUnion (
0 commit comments