File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -966,12 +966,12 @@ TEST_F(AgradRev, assign_nan_matvar) {
966
966
* In the case where we declare a var<Matrix> without initializing it, aka
967
967
* `var_value<Eigen::MatrixXd>`, we need to think about what the equivalent
968
968
* 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.
975
975
*/
976
976
TEST_F (AgradRev, assign_nullptr_var) {
977
977
using stan::math::var_value;
You can’t perform that action at this time.
0 commit comments