Skip to content

Commit ae741b6

Browse files
allow GraphBLAS 9.0.0 to work with Louvain methods (return "not implemented")
1 parent f938900 commit ae741b6

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

experimental/algorithm/LAGraph_IsolateSets.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ int LAGraph_IsolateSet(
148148
dbg(*isolate_set);
149149
LG_FREE_ALL;
150150
#else
151-
LG_ASSERT(false, GrB_NOT_IMPLEMENTED);
151+
return (GrB_NOT_IMPLEMENTED);
152152
#endif
153-
return 0;
153+
return (GrB_SUCCESS) ;
154154
}
155155

156156
// #undef LG_FREE_WORK
@@ -215,9 +215,8 @@ int LAGraph_IsolateSets(
215215
GRB_TRY(GrB_Matrix_resize(result, k, n));
216216
*IsolateSets = result;
217217
GrB_free(&ignore_nodes);
218-
return 0;
218+
return (GrB_SUCCESS) ;
219219
#else
220-
LG_ASSERT(false, GrB_NOT_IMPLEMENTED);
221-
return 0;
220+
return (GrB_NOT_IMPLEMENTED);
222221
#endif
223222
}

0 commit comments

Comments
 (0)