From e14b3302b41223a4c588c9e99491d41837ba3631 Mon Sep 17 00:00:00 2001 From: Stan Jenkins Date: Fri, 5 Jan 2024 14:58:57 -0500 Subject: [PATCH] [Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1 --- src/stan/callbacks/unique_stream_writer.hpp | 8 ++++---- src/stan/callbacks/writer.hpp | 7 ++++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/stan/callbacks/unique_stream_writer.hpp b/src/stan/callbacks/unique_stream_writer.hpp index 7fe4f3b594..ebc000c15f 100644 --- a/src/stan/callbacks/unique_stream_writer.hpp +++ b/src/stan/callbacks/unique_stream_writer.hpp @@ -135,7 +135,8 @@ class unique_stream_writer final : public writer { * * @param[in] v Values in a block representing an Eigen column vector */ - virtual void operator()(const Eigen::Block, -1, 1, true>) { + virtual void operator()( + const Eigen::Block, -1, 1, true>) { if (output_ == nullptr) return; Eigen::IOFormat CommaInitFmt(Eigen::StreamPrecision, Eigen::DontAlignCols, @@ -151,16 +152,15 @@ class unique_stream_writer final : public writer { * * @param[in] v Values in a block representing an Eigen row vector */ - virtual void operator()(const Eigen::Block, 1, -1, true>) { + virtual void operator()( + const Eigen::Block, 1, -1, true>) { if (output_ == nullptr) return; Eigen::IOFormat CommaInitFmt(Eigen::StreamPrecision, Eigen::DontAlignCols, ", ", "", "", "\n", "", ""); *output_ << values.format(CommaInitFmt); - } - /** * Writes the comment_prefix to the stream followed by a newline. */ diff --git a/src/stan/callbacks/writer.hpp b/src/stan/callbacks/writer.hpp index be7cabc656..e50488c6ed 100644 --- a/src/stan/callbacks/writer.hpp +++ b/src/stan/callbacks/writer.hpp @@ -86,7 +86,8 @@ class writer { * * @param[in] v Values in a block representing an Eigen column vector */ - virtual void operator()(const Eigen::Block, -1, 1, true>) {} + virtual void operator()( + const Eigen::Block, -1, 1, true>) {} /** * Writes a set of values in csv format followed by a newline. @@ -96,8 +97,8 @@ class writer { * * @param[in] v Values in a block representing an Eigen row vector */ - virtual void operator()(const Eigen::Block, 1, -1, true>) {} - + virtual void operator()( + const Eigen::Block, 1, -1, true>) {} }; } // namespace callbacks