Skip to content

Commit cc76435

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

6 files changed

Lines changed: 15 additions & 11 deletions

File tree

stan/math/fwd/functor/finite_diff.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ inline auto aggregate_tangent(const FuncTangent& tangent, const InputArg& arg) {
5151

5252
/**
5353
* Construct an fvar<T> where the tangent is calculated by finite-differencing.
54-
* Finite-differencing is only performed where the scalar type to be evaluated is
55-
* `fvar<T>.
54+
* Finite-differencing is only performed where the scalar type to be evaluated
55+
* is `fvar<T>.
5656
*
5757
* Higher-order inputs (i.e., fvar<var> & fvar<fvar<T>>) are also implicitly
5858
* supported through auto-diffing the finite-differencing process.
@@ -95,8 +95,8 @@ inline auto finite_diff(const F& func, const TArgs&... args) {
9595

9696
/**
9797
* Construct an fvar<T> where the tangent is calculated by finite-differencing.
98-
* Finite-differencing is only performed where the scalar type to be evaluated is
99-
* `fvar<T>.
98+
* Finite-differencing is only performed where the scalar type to be evaluated
99+
* is `fvar<T>.
100100
*
101101
* This overload is used when no fvar<T> arguments are passed and simply
102102
* evaluates the functor with the provided arguments.

stan/math/opencl/prim/skew_normal_lpdf.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ inline return_type_t<T_y_cl, T_loc_cl, T_scale_cl, T_shape_cl> skew_normal_lpdf(
4949
using std::isnan;
5050

5151
check_consistent_sizes(function, "Random variable", y, "Location parameter",
52-
mu, "Scale parameter", sigma, "Shape parameter", alpha);
52+
mu, "Scale parameter", sigma, "Shape parameter",
53+
alpha);
5354
const size_t N = max_size(y, mu, sigma, alpha);
5455
if (N == 0) {
5556
return 0.0;

stan/math/prim/err/check_flag_sundials.hpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,9 @@ inline std::array<std::string, 2> cvodes_flag_msg(int flag) {
155155
"checkpoint"};
156156
break; // NOLINT
157157
case -106:
158-
msg = {
159-
"CV_FWD_FAIL",
160-
"An error occurred during the integration of the forward problem"};
158+
msg = {"CV_FWD_FAIL",
159+
"An error occurred during the integration of the forward "
160+
"problem"};
161161
break; // NOLINT
162162
case -107:
163163
msg = {"CV_BAD_ITASK", "Wrong task for backward integration"};

stan/math/prim/prob/skew_normal_cdf.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ inline return_type_t<T_y, T_loc, T_scale, T_shape> skew_normal_cdf(
3434
using T_alpha_ref = ref_type_if_not_constant_t<T_shape>;
3535
static constexpr const char* function = "skew_normal_cdf";
3636
check_consistent_sizes(function, "Random variable", y, "Location parameter",
37-
mu, "Scale parameter", sigma, "Shape parameter", alpha);
37+
mu, "Scale parameter", sigma, "Shape parameter",
38+
alpha);
3839
T_y_ref y_ref = y;
3940
T_mu_ref mu_ref = mu;
4041
T_sigma_ref sigma_ref = sigma;

stan/math/prim/prob/skew_normal_lccdf.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ inline return_type_t<T_y, T_loc, T_scale, T_shape> skew_normal_lccdf(
3232
using T_alpha_ref = ref_type_if_not_constant_t<T_shape>;
3333
static constexpr const char* function = "skew_normal_lccdf";
3434
check_consistent_sizes(function, "Random variable", y, "Location parameter",
35-
mu, "Scale parameter", sigma, "Shape parameter", alpha);
35+
mu, "Scale parameter", sigma, "Shape parameter",
36+
alpha);
3637
T_y_ref y_ref = y;
3738
T_mu_ref mu_ref = mu;
3839
T_sigma_ref sigma_ref = sigma;

stan/math/prim/prob/skew_normal_lpdf.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ inline return_type_t<T_y, T_loc, T_scale, T_shape> skew_normal_lpdf(
3535
using T_alpha_ref = ref_type_if_not_constant_t<T_shape>;
3636
static constexpr const char* function = "skew_normal_lpdf";
3737
check_consistent_sizes(function, "Random variable", y, "Location parameter",
38-
mu, "Scale parameter", sigma, "Shape parameter", alpha);
38+
mu, "Scale parameter", sigma, "Shape parameter",
39+
alpha);
3940
T_y_ref y_ref = y;
4041
T_mu_ref mu_ref = mu;
4142
T_sigma_ref sigma_ref = sigma;

0 commit comments

Comments
 (0)