Skip to content

Commit 0e880b3

Browse files
committed
[Jenkins] auto-formatting by clang-format version 6.0.0-1ubuntu2 (tags/RELEASE_600/final)
1 parent 20d9b8c commit 0e880b3

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

stan/math/opencl/matrix_cl.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ class matrix_cl<T, require_arithmetic_t<T>> {
305305
* @throw <code>std::system_error</code> if the memory on the device could not
306306
* be allocated
307307
*/
308-
template <typename Mat, require_eigen_t<Mat>* = nullptr, require_vt_same<Mat, T>* = nullptr>
308+
template <typename Mat, require_eigen_t<Mat>* = nullptr,
309+
require_vt_same<Mat, T>* = nullptr>
309310
explicit matrix_cl(Mat&& A,
310311
matrix_cl_view partial_view = matrix_cl_view::Entire)
311312
: rows_(A.rows()), cols_(A.cols()), view_(partial_view) {

stan/math/prim/fun/log_softmax.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ namespace math {
4040
* Note: The return must be evaluated otherwise the Ref object falls out
4141
* of scope
4242
*/
43-
template <typename Container, require_arithmetic_t<scalar_type_t<Container>>* = nullptr>
43+
template <typename Container,
44+
require_arithmetic_t<scalar_type_t<Container>>* = nullptr>
4445
inline auto log_softmax(const Container& x) {
4546
return apply_vector_unary<Container>::apply(x, [](const auto& v) {
4647
const Eigen::Ref<const plain_type_t<decltype(v)>>& v_ref = v;

stan/math/rev/core/vector_vari.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ class op_vector_vari : public vari {
1515
vari** vis_;
1616

1717
public:
18-
template <typename Arith, typename VecVar, require_arithmetic_t<Arith>* = nullptr,
18+
template <typename Arith, typename VecVar,
19+
require_arithmetic_t<Arith>* = nullptr,
1920
require_vector_like_vt<is_var, VecVar>* = nullptr>
2021
op_vector_vari(Arith f, VecVar&& vs) : vari(f), size_(vs.size()) {
2122
vis_ = reinterpret_cast<vari**>(operator new(sizeof(vari*) * vs.size()));

0 commit comments

Comments
 (0)