File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
include/graphblas/nonblocking Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -10504,11 +10504,10 @@ namespace grb {
1050410504 for ( ; i < local_nz; ++i ) {
1050510505 typename AddMonoid::D3 temp =
1050610506 addMonoid.template getIdentity < typename AddMonoid::D3 >();
10507- const size_t index_a = ( already_dense_input_x ? i : local_x.index ( i ) ) +
10507+ const size_t index = ( already_dense_input_x ? i : local_x.index ( i ) ) +
1050810508 lower_bound;
10509- if ( already_dense_input_y || local_y.assigned ( i ) ) {
10510- const size_t index_b = ( already_dense_input_y ? i : local_y.index ( i ) ) + lower_bound;
10511- apply ( temp, a[ index_a ], b[ index_b ], anyOp );
10509+ if ( already_dense_input_y || local_y.assigned ( index - lower_bound ) ) {
10510+ apply ( temp, a[ index ], b[ index ], anyOp );
1051210511 foldr ( temp, thread_local_output, addMonoid.getOperator () );
1051310512 }
1051410513 }
You can’t perform that action at this time.
0 commit comments