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 27, 2024
1 parent 32fd254 commit b044f2c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/stan/io/stan_csv_reader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,11 +334,11 @@ class stan_csv_reader {
for (int col = 0; col < cols; col++) {
std::getline(ls, line, ',');
boost::trim(line);
try {
samples(row, col) = std::stod(line);
} catch (const std::out_of_range &e) {
samples(row, col) = std::numeric_limits<double>::quiet_NaN();
}
try {
samples(row, col) = std::stod(line);
} catch (const std::out_of_range& e) {
samples(row, col) = std::numeric_limits<double>::quiet_NaN();
}
}
}
}
Expand Down

0 comments on commit b044f2c

Please sign in to comment.