stan-dev / stanc3

The Stan transpiler (from Stan to C++ and beyond).
BSD 3-Clause "New" or "Revised" License
140 stars 44 forks source link

Expose multi student t cholesky #1197

Closed spinkney closed 2 years ago

spinkney commented 2 years ago

Submission Checklist

Release notes

Added multi_student_t_cholesky_lpdf and multi_student_t_cholesky_rng distribution functions.

Copyright and Licensing

By submitting this pull request, the copyright holder is agreeing to license the submitted work under the BSD 3-clause license (https://opensource.org/licenses/BSD-3-Clause)

WardBrian commented 2 years ago

Hi @spinkney - the expression tests failing here means the function is evaluating it's argument (an eigen expression in this case) more than once per call - it looks like it's happening 3 times. I believe this needs to be changed on the C++ side

spinkney commented 2 years ago

@WardBrian I believe this is ready to be merged