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 Nov 1, 2024
1 parent de72dc4 commit 4cd3325
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/test/interface/multi_chain_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ TEST(interface, output_multi) {
Eigen::VectorXd warmup_times(filenames.size());
Eigen::VectorXd sampling_times(filenames.size());
Eigen::VectorXi thin(filenames.size());
auto chains = parse_csv_files(
filenames, metadata, warmup_times, sampling_times, thin, &std::cout);
auto chains = parse_csv_files(filenames, metadata, warmup_times,
sampling_times, thin, &std::cout);
constexpr std::array<const char*, 9> names{
"lp__", "accept_stat__", "stepsize__",
"treedepth__", "n_leapfrog__", "divergent__",
Expand All @@ -54,8 +54,8 @@ TEST(interface, output_multi) {
Eigen::VectorXd warmup_times(filenames.size());
Eigen::VectorXd sampling_times(filenames.size());
Eigen::VectorXi thin(filenames.size());
auto chains = parse_csv_files(
filenames, metadata, warmup_times, sampling_times, thin, &std::cout);
auto chains = parse_csv_files(filenames, metadata, warmup_times,
sampling_times, thin, &std::cout);
constexpr std::array<const char*, 9> names{
"lp__", "accept_stat__", "stepsize__",
"treedepth__", "n_leapfrog__", "divergent__",
Expand Down
12 changes: 6 additions & 6 deletions src/test/interface/output_sig_figs_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ TEST(interface, output_sig_figs_1) {
Eigen::VectorXd warmup_times(filenames.size());
Eigen::VectorXd sampling_times(filenames.size());
Eigen::VectorXi thin(filenames.size());
auto chains = parse_csv_files(
filenames, metadata, warmup_times, sampling_times, thin, &std::cout);
auto chains = parse_csv_files(filenames, metadata, warmup_times,
sampling_times, thin, &std::cout);
EXPECT_NEAR(chains.samples(8)(0, 0), 0.1, 1E-16);
}

Expand All @@ -55,8 +55,8 @@ TEST(interface, output_sig_figs_2) {
Eigen::VectorXd warmup_times(filenames.size());
Eigen::VectorXd sampling_times(filenames.size());
Eigen::VectorXi thin(filenames.size());
auto chains = parse_csv_files(
filenames, metadata, warmup_times, sampling_times, thin, &std::cout);
auto chains = parse_csv_files(filenames, metadata, warmup_times,
sampling_times, thin, &std::cout);
EXPECT_NEAR(chains.samples(8)(0, 0), 0.12, 1E-16);
}

Expand All @@ -83,7 +83,7 @@ TEST(interface, output_sig_figs_9) {
Eigen::VectorXd warmup_times(filenames.size());
Eigen::VectorXd sampling_times(filenames.size());
Eigen::VectorXi thin(filenames.size());
auto chains = parse_csv_files(
filenames, metadata, warmup_times, sampling_times, thin, &std::cout);
auto chains = parse_csv_files(filenames, metadata, warmup_times,
sampling_times, thin, &std::cout);
EXPECT_NEAR(chains.samples(8)(0, 0), 0.123456789, 1E-16);
}

0 comments on commit 4cd3325

Please sign in to comment.