@@ -42,10 +42,10 @@ void populate_dense_buffers(
4242
4343template <typename Index_>
4444struct FetchNonEmptySparseBlockInfo {
45- FetchNonEmptySparseBlockInfo (const Index_ position, const Index_ num_non_empty, const bool consecutive ) :
46- position (position), num_non_empty(num_non_empty), consecutive(consecutive ) {}
45+ FetchNonEmptySparseBlockInfo (const Index_ position, const Index_ num_non_empty, const bool all_non_empty ) :
46+ position (position), num_non_empty(num_non_empty), all_non_empty(all_non_empty ) {}
4747 Index_ position, num_non_empty;
48- bool consecutive ;
48+ bool all_non_empty ;
4949};
5050
5151template <typename Value_, typename Index_, class Zero_ >
@@ -62,7 +62,7 @@ FetchNonEmptySparseBlockInfo<Index_> fetch_non_empty_sparse_block(
6262) {
6363 non_empty.clear ();
6464 Index_ num_non_empty = 0 ;
65- bool consecutive = true ;
65+ bool all_non_empty = true ;
6666
6767 // We assume that a check for remaining dimension elements was performed before continuing the blocked loop.
6868 assert (position < length);
@@ -71,7 +71,7 @@ FetchNonEmptySparseBlockInfo<Index_> fetch_non_empty_sparse_block(
7171 auto lrange = ext.fetch (vbuffers[num_non_empty].data (), ibuffers[num_non_empty].data ());
7272 if (lrange.number == 0 ) {
7373 zero (position);
74- consecutive = false ;
74+ all_non_empty = false ;
7575 ++position;
7676 continue ;
7777 }
@@ -86,7 +86,7 @@ FetchNonEmptySparseBlockInfo<Index_> fetch_non_empty_sparse_block(
8686 }
8787 } while (position < length);
8888
89- return FetchNonEmptySparseBlockInfo (position, num_non_empty, consecutive );
89+ return FetchNonEmptySparseBlockInfo (position, num_non_empty, all_non_empty );
9090}
9191
9292template <typename Output_, typename DenseValue_, typename Value_, typename Index_>
0 commit comments