Skip to content

Commit 2584656

Browse files
committed
[DEBUG] Turn transitive reduction off.
1 parent a79ced2 commit 2584656

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cfpq_add_context/add_contexts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def to_label_decomposed_graph(graph):
6565
#entrypoints = Vector(bool,graph.nrows, name="entrypoints")
6666
#entrypoints << graph.reduce_columnwise(op.lor)
6767
#mask_v(op.lor) << Vector.from_coo(list(set(range(0,graph.nrows)).difference(entrypoints.to_coo(values=False)[0])), values=True, dtype = BOOL)
68-
68+
6969
load_i = Matrix(UINT64, graph.ncols, graph.nrows, name = "load_i_after_intersection")
7070
load_i << graph.select(graphblas.select.select_load).apply(graphblas.unary.decode_load)
7171
print("Matrix for load_i nvals: ", load_i.nvals)
@@ -113,7 +113,7 @@ def to_label_decomposed_graph(graph):
113113
print("Boolean matrix for assign nvals: ", assign.nvals)
114114

115115

116-
assign << transitive_reduction(assign, assign_mask)
116+
# !!! assign << transitive_reduction(assign, assign_mask)
117117

118118
#assign_res = Matrix(BOOL, graph.ncols, graph.nrows, name = "assign_after_transitive_reduction")
119119
#assign_1 = Matrix.mxm(assign_mask, assign, "land_lor")

0 commit comments

Comments
 (0)