Skip to content

Commit c5caa59

Browse files
committed
[Jenkins] auto-formatting by clang-format version 6.0.0-1ubuntu2~16.04.1 (tags/RELEASE_600/final)
1 parent 812ae25 commit c5caa59

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

stan/math/rev/fun/tan.hpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ inline var tan(const var& a) {
5757
*/
5858
template <typename VarMat, require_var_matrix_t<VarMat>* = nullptr>
5959
inline auto tan(const VarMat& a) {
60-
return make_callback_var(
61-
a.val().array().tan().matrix(), [a](const auto& vi) mutable {
62-
a.adj() += vi.adj().cwiseProduct(
63-
(1.0 + vi.val().array().square()).matrix());
64-
});
60+
return make_callback_var(a.val().array().tan().matrix(),
61+
[a](const auto& vi) mutable {
62+
a.adj() += vi.adj().cwiseProduct(
63+
(1.0 + vi.val().array().square()).matrix());
64+
});
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)