summaryrefslogtreecommitdiff
path: root/include/phat/algorithms/chunk_reduction.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/phat/algorithms/chunk_reduction.h')
-rw-r--r--include/phat/algorithms/chunk_reduction.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/phat/algorithms/chunk_reduction.h b/include/phat/algorithms/chunk_reduction.h
index 91976e6..44454bb 100644
--- a/include/phat/algorithms/chunk_reduction.h
+++ b/include/phat/algorithms/chunk_reduction.h
@@ -163,8 +163,8 @@ namespace phat {
thread_local_storage< std::vector< index > > cur_col_values_buffer;
#pragma omp parallel for schedule( guided, 1 )
for( index idx = 0; idx < (index)global_columns.size(); idx++ ) {
- std::vector< std::pair < index, index > >& stack = stack_buffer();
- std::vector< index >& cur_col_values = cur_col_values_buffer();
+ std::vector< std::pair < index, index > >& stack = stack_buffer();
+ std::vector< index >& cur_col_values = cur_col_values_buffer();
bool pop_next = false;
index start_col = global_columns[ idx ];
stack.push_back( std::pair< index, index >( start_col, -1 ) );