From b98f60fd2a38b6ba8f94003342a05478a55fbd8e Mon Sep 17 00:00:00 2001 From: Stan Jenkins Date: Wed, 18 Dec 2024 15:31:55 -0500 Subject: [PATCH] [Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1 --- src/stan/callbacks/multi_writer.hpp | 1 - src/stan/services/pathfinder/multi.hpp | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stan/callbacks/multi_writer.hpp b/src/stan/callbacks/multi_writer.hpp index 857aa1d8e4..2e2db75fac 100644 --- a/src/stan/callbacks/multi_writer.hpp +++ b/src/stan/callbacks/multi_writer.hpp @@ -51,7 +51,6 @@ class multi_writer { * Output stream */ std::tuple...> output_; - }; } // namespace callbacks diff --git a/src/stan/services/pathfinder/multi.hpp b/src/stan/services/pathfinder/multi.hpp index fb13143afc..1c6a9b3ccf 100644 --- a/src/stan/services/pathfinder/multi.hpp +++ b/src/stan/services/pathfinder/multi.hpp @@ -239,7 +239,8 @@ inline int pathfinder_lbfgs_multi( const Eigen::Index param_size = new_draws.rows(); const auto num_samples = new_draws.cols(); unconstrained_col = new_draws.col(path_sample_idx); - constrain_fun(approx_samples_constrained_col, unconstrained_col, model, rng); + constrain_fun(approx_samples_constrained_col, unconstrained_col, model, + rng); sample_row.head(2) = lp_draws.row(path_sample_idx).matrix(); sample_row(2) = path_num; sample_row.tail(uc_param_size) = approx_samples_constrained_col;