Skip to content

Compiler support for laplace_latent_solve(_tol)#1649

Open
florence-bockting wants to merge 5 commits into
stan-dev:masterfrom
florence-bockting:laplace/return-cov-chol
Open

Compiler support for laplace_latent_solve(_tol)#1649
florence-bockting wants to merge 5 commits into
stan-dev:masterfrom
florence-bockting:laplace/return-cov-chol

Conversation

@florence-bockting

@florence-bockting florence-bockting commented Jul 18, 2026

Copy link
Copy Markdown

Submission Checklist

This PR refers to math PR#337 in which we implemented laplace_latent_solve and laplace_latent_solve_tol.

Release notes

  • Adds Stan compiler support for Math’s laplace_latent_solve(_tol), which return tuple(vector, matrix) (posterior mean and Cholesky factor).

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)

This PR used AI assistance (Cursor).

@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.51%. Comparing base (5496e41) to head (ec9a2f8).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1649   +/-   ##
=======================================
  Coverage   91.51%   91.51%           
=======================================
  Files          67       67           
  Lines        9977     9979    +2     
=======================================
+ Hits         9130     9132    +2     
  Misses        847      847           
Files with missing lines Coverage Δ
src/frontend/Typechecker.ml 94.88% <100.00%> (+<0.01%) ⬆️
src/stan_math_signatures/Stan_math_signatures.ml 86.27% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@florence-bockting
florence-bockting marked this pull request as ready for review July 18, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant