Skip to content

Commit aa6a007

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 3a4f55b commit aa6a007

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

src/cmdstan/command_helper.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -285,8 +285,7 @@ void parse_stan_csv(const std::string &fname,
285285
// parse CSV contents
286286
std::ifstream stream = file::safe_open(fname);
287287
stan::io::stan_csv_reader::read_metadata(stream, fitted_params.metadata);
288-
if (!stan::io::stan_csv_reader::read_header(stream,
289-
fitted_params.header,
288+
if (!stan::io::stan_csv_reader::read_header(stream, fitted_params.header,
290289
false)) {
291290
msg << "Error reading fitted param names from sample csv file \"" << fname
292291
<< "\"" << std::endl;

src/test/interface/generated_quantities_test.cpp

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ TEST_F(CmdStan, generate_quantities_warmup) {
185185
stan::io::stan_csv fitted_params;
186186
stan::io::stan_csv_reader::read_metadata(fp_stream, fitted_params.metadata);
187187
stan::io::stan_csv_reader::read_header(fp_stream, fitted_params.header,
188-
false);
188+
false);
189189
stan::io::stan_csv_reader::read_samples(fp_stream, fitted_params.samples,
190190
fitted_params.timing);
191191
fp_stream.close();
@@ -195,8 +195,7 @@ TEST_F(CmdStan, generate_quantities_warmup) {
195195
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
196196
gq_output.timing);
197197
stan::io::stan_csv_reader::read_metadata(gq_stream, gq_output.metadata);
198-
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header,
199-
false);
198+
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header, false);
200199
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
201200
gq_output.timing);
202201
gq_stream.close();
@@ -233,8 +232,7 @@ TEST_F(CmdStan, generate_quantities_after_optimization) {
233232
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
234233
gq_output.timing);
235234
stan::io::stan_csv_reader::read_metadata(gq_stream, gq_output.metadata);
236-
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header,
237-
false);
235+
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header, false);
238236
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
239237
gq_output.timing);
240238
gq_stream.close();
@@ -271,8 +269,7 @@ TEST_F(CmdStan, generate_quantities_after_vb) {
271269
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
272270
gq_output.timing);
273271
stan::io::stan_csv_reader::read_metadata(gq_stream, gq_output.metadata);
274-
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header,
275-
false);
272+
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header, false);
276273
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
277274
gq_output.timing);
278275
gq_stream.close();
@@ -309,8 +306,7 @@ TEST_F(CmdStan, generate_quantities_thin) {
309306
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
310307
gq_output.timing);
311308
stan::io::stan_csv_reader::read_metadata(gq_stream, gq_output.metadata);
312-
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header,
313-
false);
309+
stan::io::stan_csv_reader::read_header(gq_stream, gq_output.header, false);
314310
stan::io::stan_csv_reader::read_samples(gq_stream, gq_output.samples,
315311
gq_output.timing);
316312
gq_stream.close();

0 commit comments

Comments
 (0)