Skip to content

Commit 100182e

Browse files
committed
Change an auto to a vector so compiler checks this change
1 parent c49e8ae commit 100182e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/unit/math/rev/fun/eigenvalues_sym_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ TEST(AgradRev, eigenvaluesSymLogDet) {
1717
stan::math::matrix_d a_inv = stan::math::inverse(a);
1818

1919
stan::math::matrix_v a_v(a);
20-
auto w = eigenvalues_sym(a_v);
20+
stan::math::matrix_v w = eigenvalues_sym(a_v);
2121
auto logdet = stan::math::sum(stan::math::log(w));
2222

2323
stan::math::set_zero_all_adjoints();

0 commit comments

Comments
 (0)