update rep_matrix to have Ret typename template for var<VectorXd> case
update rep_matrix to have Ret typename template for var<VectorXd> case

stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math