Skip to content

Commit a8a0014

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent d4c03d8 commit a8a0014

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

stan/math/rev/functor/solve_newton.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ algebra_solver_newton(const F& f, const T1& x, const T2& y,
300300
std::ostream* const msgs = nullptr,
301301
const double scaling_step_size = 1e-3,
302302
const double function_tolerance = 1e-6,
303-
const long int max_num_steps = 200) { // NOLINT(runtime/int)
303+
const long int max_num_steps
304+
= 200) { // NOLINT(runtime/int)
304305
return solve_newton_tol(algebra_solver_adapter<F>(f), x, scaling_step_size,
305306
function_tolerance, max_num_steps, msgs, y, dat,
306307
dat_int);

test/unit/math/rev/functor/util_algebra_solver.hpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ inline void error_conditions_test(const F& f,
457457

458458
template <typename T>
459459
inline void unsolvable_test(Eigen::Matrix<T, Eigen::Dynamic, 1>& y,
460-
int solver_type = 0, bool use_tol = false) {
460+
int solver_type = 0, bool use_tol = false) {
461461
Eigen::VectorXd x(2);
462462
x << 1, 1;
463463
std::vector<double> dat;
@@ -483,8 +483,7 @@ inline void unsolvable_test(Eigen::Matrix<T, Eigen::Dynamic, 1>& y,
483483

484484
template <typename T>
485485
inline void unsolvable_flag_test(Eigen::Matrix<T, Eigen::Dynamic, 1>& y,
486-
int solver_type = 0,
487-
bool use_tol = false) {
486+
int solver_type = 0, bool use_tol = false) {
488487
Eigen::VectorXd x(2);
489488
x << 1, 1;
490489
std::vector<double> dat;

test/unit/math/test_ad_matvar.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,9 @@ inline constexpr auto make_tuple_seq(std::index_sequence<Idx...> idxs) {
122122
*/
123123
template <typename... T1, typename... T2>
124124
inline void expect_near_rel_matvar(const std::string& message,
125-
const std::tuple<T1...>& x,
126-
const std::tuple<T2...>& y,
127-
const ad_tolerances& tols) {
125+
const std::tuple<T1...>& x,
126+
const std::tuple<T2...>& y,
127+
const ad_tolerances& tols) {
128128
if constexpr (!(sizeof...(T1) == sizeof...(T2))) {
129129
FAIL() << "The number of arguments in each tuple must match";
130130
}

0 commit comments

Comments
 (0)