Skip to content

Commit be3c985

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/math/mix/core/operator_subtraction_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,14 @@ TEST(mathMixCore, operatorSubtractionMatrixFailures) {
144144
stan::test::expect_ad_matvar(tols, f, rvv, u);
145145
}
146146

147-
148147
TEST(mathMixCore, operatorSubtractionMatrixLinearAccess) {
149148
Eigen::MatrixXd matrix_m11(3, 3);
150149
for (Eigen::Index i = 0; i < matrix_m11.size(); ++i) {
151150
matrix_m11(i) = i;
152151
}
153152
stan::math::var_value<Eigen::MatrixXd> A(matrix_m11);
154-
stan::math::var_value<Eigen::MatrixXd> B = stan::math::subtract(A, A.transpose());
153+
stan::math::var_value<Eigen::MatrixXd> B
154+
= stan::math::subtract(A, A.transpose());
155155
B.adj()(2, 0) = 1;
156156
stan::math::grad();
157157
Eigen::MatrixXd expected_adj = Eigen::MatrixXd::Zero(3, 3);

0 commit comments

Comments
 (0)