Skip to content

Commit 00553bd

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent c6389b7 commit 00553bd

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

test/unit/math/prim/fun/hypergeometric_3F2_test.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
// converge
55
TEST(MathPrimScalFun, F32_converges_by_z) {
66
using stan::math::hypergeometric_3F2;
7-
using stan::math::to_vector;
87
using stan::math::to_row_vector;
8+
using stan::math::to_vector;
99
std::vector<double> a = {1.0, 1.0, 1.0};
1010
std::vector<double> b = {1.0, 1.0};
1111
double z = 0.6;
1212

1313
EXPECT_NEAR(2.5, hypergeometric_3F2(a, b, z), 1e-8);
1414
EXPECT_NEAR(2.5, hypergeometric_3F2(to_vector(a), to_vector(b), z), 1e-8);
15-
EXPECT_NEAR(2.5, hypergeometric_3F2(to_row_vector(a), to_row_vector(b), z), 1e-8);
15+
EXPECT_NEAR(2.5, hypergeometric_3F2(to_row_vector(a), to_row_vector(b), z),
16+
1e-8);
1617
}
1718
// terminate by zero numerator, no sign-flip
1819
TEST(MathPrimScalFun, F32_polynomial) {

test/unit/math/prim/fun/hypergeometric_pFq_test.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ TEST(MathFunctions, hypergeometric_pFq_values) {
1414
double z = 2;
1515

1616
EXPECT_FLOAT_EQ(3.8420514314107791, hypergeometric_pFq(a, b, z));
17-
EXPECT_FLOAT_EQ(3.8420514314107791, hypergeometric_pFq(to_row_vector(a), to_row_vector(b), z));
18-
EXPECT_FLOAT_EQ(3.8420514314107791, hypergeometric_pFq(to_array_1d(a), to_array_1d(b), z));
17+
EXPECT_FLOAT_EQ(3.8420514314107791,
18+
hypergeometric_pFq(to_row_vector(a), to_row_vector(b), z));
19+
EXPECT_FLOAT_EQ(3.8420514314107791,
20+
hypergeometric_pFq(to_array_1d(a), to_array_1d(b), z));
1921

2022
a << 6, 4;
2123
b << 3, 1;

0 commit comments

Comments
 (0)