MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / RG_Matrix_sync_deletions

Function RG_Matrix_sync_deletions

src/graph/rg_matrix/rg_wait.c:25–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25static void RG_Matrix_sync_deletions
26(
27 RG_Matrix C
28) {
29 ASSERT(C != NULL);
30
31 GrB_Matrix m = RG_MATRIX_M(C);
32 GrB_Matrix dm = RG_MATRIX_DELTA_MINUS(C);
33
34 GrB_Info info;
35
36 info = GrB_transpose(m, dm, GrB_NULL, m, GrB_DESC_RSCT0);
37 ASSERT(info == GrB_SUCCESS);
38
39 // clear delta minus
40 info = GrB_Matrix_clear(dm);
41 ASSERT(info == GrB_SUCCESS);
42}
43
44static void RG_Matrix_sync_additions
45(

Callers 1

RG_Matrix_syncFunction · 0.85

Calls 2

GrB_transposeFunction · 0.85
GrB_Matrix_clearFunction · 0.85

Tested by

no test coverage detected