Skip to content

Commit d070e18

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 1fdf5c4 commit d070e18

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

stan/math/prim/fun/pow.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,8 @@ template <typename T1, typename T2, require_any_container_t<T1, T2>* = nullptr,
6262
require_all_not_matrix_st<is_var, T1, T2>* = nullptr,
6363
require_all_st_arithmetic<T1, T2>* = nullptr>
6464
inline auto pow(const T1& a, const T2& b) {
65-
return apply_scalar_binary(a, b, [](const auto& c, const auto& d) {
66-
return stan::math::pow(c, d);
67-
});
65+
return apply_scalar_binary(
66+
a, b, [](const auto& c, const auto& d) { return stan::math::pow(c, d); });
6867
}
6968
} // namespace math
7069
} // namespace stan

stan/math/rev/fun/pow.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,8 @@ template <typename T1, typename T2, require_any_container_t<T1, T2>* = nullptr,
416416
require_all_not_matrix_st<is_var, T1, T2>* = nullptr,
417417
require_any_not_st_arithmetic<T1, T2>* = nullptr>
418418
inline auto pow(const T1& a, const T2& b) {
419-
return apply_scalar_binary(a, b, [](const auto& c, const auto& d) {
420-
return stan::math::pow(c, d);
421-
});
419+
return apply_scalar_binary(
420+
a, b, [](const auto& c, const auto& d) { return stan::math::pow(c, d); });
422421
}
423422

424423
} // namespace math

0 commit comments

Comments
 (0)