Skip to content

Commit

Permalink
Update stan/math/prim/prob/multi_normal_cholesky_lpdf.hpp
Browse files Browse the repository at this point in the history
Co-authored-by: Steve Bronder <Stevo15025@gmail.com>
  • Loading branch information
bbbales2 and SteveBronder committed Mar 26, 2021
1 parent 31d79fc commit 5b1c5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion stan/math/prim/prob/multi_normal_cholesky_lpdf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,8 @@ return_type_t<T_y, T_loc, T_covar> multi_normal_cholesky_lpdf(
y_val_minus_mu_val.col(i) = y_val - mu_val;
}

matrix_partials_t half, scaled_diff;
matrix_partials_t half;
matrix_partials_t scaled_diff;

// If the covariance is not autodiff, we can avoid computing a matrix
// inverse
Expand Down

0 comments on commit 5b1c5f9

Please sign in to comment.