Skip to content

Commit e98ebe2

Browse files
committed
Subissue #3 in issue #557
1 parent bfdbb22 commit e98ebe2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/graphblas/reference/blas1.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3705,6 +3705,11 @@ namespace grb {
37053705
// scalar coda
37063706
for( size_t i = end * block_size; i < n; ++i ) {
37073707
if( mask_coors.template mask< descr >( i, mask_p ) ) {
3708+
if( left_sparse && right_sparse ) {
3709+
if( !left_coors->assigned( i ) && !right_coors->assigned( i ) ) {
3710+
continue;
3711+
}
3712+
}
37083713
#ifdef _H_GRB_REFERENCE_OMP_BLAS1
37093714
if( !z_coors.asyncAssign( i, update ) ) {
37103715
(void) ++asyncAssigns;

0 commit comments

Comments
 (0)