Skip to content

Commit 7dcf33b

Browse files
committed
[Jenkins] auto-formatting by clang-format version 10.0.0-4ubuntu1
1 parent 42291fb commit 7dcf33b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/unit/math/rev/core/var_test.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -966,12 +966,12 @@ TEST_F(AgradRev, assign_nan_matvar) {
966966
* In the case where we declare a var<Matrix> without initializing it, aka
967967
* `var_value<Eigen::MatrixXd>`, we need to think about what the equivalent
968968
* behavior is for `Eigen::Matrix<var, -1, -1>`.
969-
* When default constructing `Eigen::Matrix<var, -1, -1>` we would have an array of `var` types
970-
* with `nullptr` as the vari. The first assignment to that array would then
971-
* just copy the vari pointer from the other array. This is the behavior we
972-
* want to mimic for `var_value<Eigen::MatrixXd>`. So in this test show that
973-
* for uninitialized `var_value<Eigen::MatrixXd>`, we can assign it and the
974-
* adjoints are the same as x.
969+
* When default constructing `Eigen::Matrix<var, -1, -1>` we would have an array
970+
* of `var` types with `nullptr` as the vari. The first assignment to that array
971+
* would then just copy the vari pointer from the other array. This is the
972+
* behavior we want to mimic for `var_value<Eigen::MatrixXd>`. So in this test
973+
* show that for uninitialized `var_value<Eigen::MatrixXd>`, we can assign it
974+
* and the adjoints are the same as x.
975975
*/
976976
TEST_F(AgradRev, assign_nullptr_var) {
977977
using stan::math::var_value;

0 commit comments

Comments
 (0)