Skip to content

Commit 80ada75

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent a8e7afa commit 80ada75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

stan/math/prim/fun/promote_scalar.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ namespace math {
1414
template <typename PromotionScalars, typename UnPromotedTypes>
1515
inline constexpr auto promote_scalar(UnPromotedTypes&& x) {
1616
using unpromoted_scalar_t = scalar_type_t<UnPromotedTypes>;
17-
constexpr bool both_tuples = is_tuple_v<PromotionScalars> &&
18-
is_tuple_v<UnPromotedTypes>;
19-
if constexpr (std::is_same_v<PromotionScalars,unpromoted_scalar_t>) {
17+
constexpr bool both_tuples
18+
= is_tuple_v<PromotionScalars> && is_tuple_v<UnPromotedTypes>;
19+
if constexpr (std::is_same_v<PromotionScalars, unpromoted_scalar_t>) {
2020
return std::forward<UnPromotedTypes>(x);
2121
} else if constexpr (both_tuples) {
2222
return index_apply<std::tuple_size<std::decay_t<UnPromotedTypes>>::value>(

0 commit comments

Comments
 (0)