@@ -220,7 +220,7 @@ void compute_variances_dense_row(
220
220
auto tmp_vars = sanisizer::create<std::vector<Stat_> >(blocked ? nblocks : 0 );
221
221
222
222
auto buffer = tatami::create_container_of_Index_size<std::vector<Value_> >(NC);
223
- auto ext = tatami::consecutive_extractor<false >(& mat, true , start, length);
223
+ auto ext = tatami::consecutive_extractor<false >(mat, true , start, length);
224
224
for (Index_ r = start, end = start + length; r < end; ++r) {
225
225
auto ptr = ext->fetch (buffer.data ());
226
226
@@ -270,7 +270,7 @@ void compute_variances_sparse_row(
270
270
auto ibuffer = tatami::create_container_of_Index_size<std::vector<Index_> >(NC);
271
271
tatami::Options opt;
272
272
opt.sparse_ordered_index = false ;
273
- auto ext = tatami::consecutive_extractor<true >(& mat, true , start, length, opt);
273
+ auto ext = tatami::consecutive_extractor<true >(mat, true , start, length, opt);
274
274
275
275
for (Index_ r = start, end = start + length; r < end; ++r) {
276
276
auto range = ext->fetch (vbuffer.data (), ibuffer.data ());
@@ -316,7 +316,7 @@ void compute_variances_dense_column(
316
316
317
317
tatami::parallelize ([&](int thread, Index_ start, Index_ length) -> void {
318
318
auto buffer = tatami::create_container_of_Index_size<std::vector<Value_> >(length);
319
- auto ext = tatami::consecutive_extractor<false >(& mat, false , static_cast <Index_>(0 ), NC, start, length);
319
+ auto ext = tatami::consecutive_extractor<false >(mat, false , static_cast <Index_>(0 ), NC, start, length);
320
320
321
321
auto get_var = [&](Index_ b) -> Stat_* { return buffers[b].variances ; };
322
322
tatami_stats::LocalOutputBuffers<Stat_, decltype (get_var)> local_vars (thread, nblocks, start, length, std::move (get_var));
@@ -370,7 +370,7 @@ void compute_variances_sparse_column(
370
370
auto ibuffer = tatami::create_container_of_Index_size<std::vector<Index_> >(length);
371
371
tatami::Options opt;
372
372
opt.sparse_ordered_index = false ;
373
- auto ext = tatami::consecutive_extractor<true >(& mat, false , static_cast <Index_>(0 ), NC, start, length, opt);
373
+ auto ext = tatami::consecutive_extractor<true >(mat, false , static_cast <Index_>(0 ), NC, start, length, opt);
374
374
375
375
auto get_var = [&](Index_ b) -> Stat_* { return buffers[b].variances ; };
376
376
tatami_stats::LocalOutputBuffers<Stat_, decltype (get_var)> local_vars (thread, nblocks, start, length, std::move (get_var));
0 commit comments