Skip to content

Commit 8a36869

Browse files
committed
Fixing bug (seemingly)
1 parent ed38925 commit 8a36869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/graphblas/nonblocking/blas1.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10504,9 +10504,9 @@ 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 = ( already_dense_input_y ? i : local_y.index( i ) ) +
10507+
const size_t index = ( already_dense_input_x ? i : local_x.index( i ) ) +
1050810508
lower_bound;
10509-
if( already_dense_input_x || local_x.assigned( index - lower_bound ) ) {
10509+
if( already_dense_input_y || local_y.assigned( index - lower_bound ) ) {
1051010510
apply( temp, a[ index ], b[ index ], anyOp );
1051110511
foldr( temp, thread_local_output, addMonoid.getOperator() );
1051210512
}

0 commit comments

Comments
 (0)