Skip to content

Commit cc3084a

Browse files
committed
[Jenkins] auto-formatting by clang-format version 6.0.0-1ubuntu2~16.04.1 (tags/RELEASE_600/final)
1 parent ee514fd commit cc3084a

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

stan/math/rev/core/init_chainablestack.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ namespace math {
2020
* hook ensures that each worker thread has an initialized AD tape
2121
* ready for use.
2222
*
23-
* Refer to https://software.intel.com/content/www/us/en/develop/documentation/tbb-documentation/top/intel-threading-building-blocks-developer-reference/task-scheduler/taskschedulerobserver.html for details on the observer concept.
23+
* Refer to
24+
* https://software.intel.com/content/www/us/en/develop/documentation/tbb-documentation/top/intel-threading-building-blocks-developer-reference/task-scheduler/taskschedulerobserver.html
25+
* for details on the observer concept.
2426
*/
2527
class ad_tape_observer final : public tbb::task_scheduler_observer {
2628
using stack_ptr = std::unique_ptr<ChainableStack>;

stan/math/rev/functor/map_rect_concurrent.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ map_rect_concurrent(
5151
// not being modified from a different task which may happen
5252
// whenever this function is being used itself in a parallel
5353
// context (like running multiple chains for Stan)
54-
tbb::this_task_arena::isolate( [&]{
54+
tbb::this_task_arena::isolate([&] {
5555
tbb::parallel_for(tbb::blocked_range<std::size_t>(0, num_jobs),
5656
[&](const tbb::blocked_range<size_t>& r) {
5757
execute_chunk(r.begin(), r.end());

stan/math/rev/functor/reduce_sum.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ struct reduce_sum_impl<ReduceFunction, require_var_t<ReturnType>, ReturnType,
256256
// not being modified from a different task which may happen
257257
// whenever this function is being used itself in a parallel
258258
// context (like running multiple chains for Stan)
259-
tbb::this_task_arena::isolate( [&]{
259+
tbb::this_task_arena::isolate([&] {
260260
if (auto_partitioning) {
261261
tbb::parallel_reduce(
262262
tbb::blocked_range<std::size_t>(0, num_terms, grainsize), worker);

0 commit comments

Comments
 (0)