Skip to content

Commit

Permalink
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
Browse files Browse the repository at this point in the history
  • Loading branch information
stan-buildbot committed Sep 25, 2024
1 parent 1fdf5c4 commit d070e18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions stan/math/prim/fun/pow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ template <typename T1, typename T2, require_any_container_t<T1, T2>* = nullptr,
require_all_not_matrix_st<is_var, T1, T2>* = nullptr,
require_all_st_arithmetic<T1, T2>* = nullptr>
inline auto pow(const T1& a, const T2& b) {
return apply_scalar_binary(a, b, [](const auto& c, const auto& d) {
return stan::math::pow(c, d);
});
return apply_scalar_binary(
a, b, [](const auto& c, const auto& d) { return stan::math::pow(c, d); });
}
} // namespace math
} // namespace stan
Expand Down
5 changes: 2 additions & 3 deletions stan/math/rev/fun/pow.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,8 @@ template <typename T1, typename T2, require_any_container_t<T1, T2>* = nullptr,
require_all_not_matrix_st<is_var, T1, T2>* = nullptr,
require_any_not_st_arithmetic<T1, T2>* = nullptr>
inline auto pow(const T1& a, const T2& b) {
return apply_scalar_binary(a, b, [](const auto& c, const auto& d) {
return stan::math::pow(c, d);
});
return apply_scalar_binary(
a, b, [](const auto& c, const auto& d) { return stan::math::pow(c, d); });
}

} // namespace math
Expand Down

0 comments on commit d070e18

Please sign in to comment.