Skip to content

Commit

Permalink
[Jenkins] auto-formatting by clang-format version 6.0.0-1ubuntu2~16.0…
Browse files Browse the repository at this point in the history
…4.1 (tags/RELEASE_600/final)
  • Loading branch information
stan-buildbot committed Jul 2, 2021
1 parent c09ca13 commit 91d51e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
9 changes: 5 additions & 4 deletions src/stan/services/sample/hmc_nuts_dense_e_adapt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,15 +262,16 @@ int hmc_nuts_dense_e_adapt(
}
tbb::parallel_for(
tbb::blocked_range<size_t>(0, num_chains, 1),
[num_warmup, num_samples, num_thin, refresh, save_warmup, num_chains, init_chain_id,
&samplers, &model, &rngs, &interrupt, &logger, &sample_writer,
&cont_vectors,
[num_warmup, num_samples, num_thin, refresh, save_warmup, num_chains,
init_chain_id, &samplers, &model, &rngs, &interrupt, &logger,
&sample_writer, &cont_vectors,
&diagnostic_writer](const tbb::blocked_range<size_t>& r) {
for (size_t i = r.begin(); i != r.end(); ++i) {
util::run_adaptive_sampler(
samplers[i], model, cont_vectors[i], num_warmup, num_samples,
num_thin, refresh, save_warmup, rngs[i], interrupt, logger,
sample_writer[i], diagnostic_writer[i], init_chain_id + i + 1, num_chains);
sample_writer[i], diagnostic_writer[i], init_chain_id + i + 1,
num_chains);
}
},
tbb::simple_partitioner());
Expand Down
9 changes: 5 additions & 4 deletions src/stan/services/sample/hmc_nuts_diag_e_adapt.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,15 +263,16 @@ int hmc_nuts_diag_e_adapt(
}
tbb::parallel_for(
tbb::blocked_range<size_t>(0, num_chains, 1),
[num_warmup, num_samples, num_thin, refresh, save_warmup, num_chains, init_chain_id,
&samplers, &model, &rngs, &interrupt, &logger, &sample_writer,
&cont_vectors,
[num_warmup, num_samples, num_thin, refresh, save_warmup, num_chains,
init_chain_id, &samplers, &model, &rngs, &interrupt, &logger,
&sample_writer, &cont_vectors,
&diagnostic_writer](const tbb::blocked_range<size_t>& r) {
for (size_t i = r.begin(); i != r.end(); ++i) {
util::run_adaptive_sampler(
samplers[i], model, cont_vectors[i], num_warmup, num_samples,
num_thin, refresh, save_warmup, rngs[i], interrupt, logger,
sample_writer[i], diagnostic_writer[i], init_chain_id + i + 1, num_chains);
sample_writer[i], diagnostic_writer[i], init_chain_id + i + 1,
num_chains);
}
},
tbb::simple_partitioner());
Expand Down

0 comments on commit 91d51e1

Please sign in to comment.