Skip to content

Commit f8e7b57

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 9ed7532 commit f8e7b57

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

test/unit/math/rev/functor/lorenz_ode_typed_fd_test.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,12 @@ using lorenz_test_types = boost::mp11::mp_product<
2222

2323
TYPED_TEST_SUITE_P(lorenz_test);
2424
TYPED_TEST_P(lorenz_test, param_and_data_finite_diff) {
25-
constexpr bool is_rk45 = std::is_same<TypeParam, std::tuple<ode_rk45_functor,
26-
ode_rk45_functor>>::value;
27-
constexpr bool is_ckrk = std::is_same<TypeParam,
28-
std::tuple<ode_ckrk_functor,
29-
ode_ckrk_functor>>::value;
25+
constexpr bool is_rk45
26+
= std::is_same<TypeParam,
27+
std::tuple<ode_rk45_functor, ode_rk45_functor>>::value;
28+
constexpr bool is_ckrk
29+
= std::is_same<TypeParam,
30+
std::tuple<ode_ckrk_functor, ode_ckrk_functor>>::value;
3031
if constexpr (is_rk45) {
3132
this->test_fd_vd(1.e-6, 3e-2);
3233
this->test_fd_dv(1.e-6, 3e-2);

test/unit/math/test_ad_matvar.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,8 @@ void expect_ad_matvar_impl(const ad_tolerances& tols, const F& f,
426426
using stan::math::var;
427427
using stan::math::var_value;
428428
using stan::math::test::type_name;
429-
constexpr bool has_at_least_one_var = stan::math::disjunction<
430-
is_var<scalar_type_t<Types>>...>::value;
429+
constexpr bool has_at_least_one_var
430+
= stan::math::disjunction<is_var<scalar_type_t<Types>>...>::value;
431431
if constexpr (!stan::math::disjunction<is_var_matrix<Types>...>::value) {
432432
FAIL() << "expect_ad_matvar requires at least one varmat input!"
433433
<< std::endl;

0 commit comments

Comments
 (0)