Skip to content

Commit 5425e6b

Browse files
committed
fix doxygen and cpplint
1 parent 52aaa06 commit 5425e6b

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

stan/math/mix/functor/laplace_marginal_density_estimator.hpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,10 +367,14 @@ struct NewtonState {
367367
*
368368
* When the caller supplies a non-zero theta_init, a_init = Sigma^{-1} *
369369
* theta_init must be provided to maintain the invariant theta = Sigma * a.
370-
*
370+
* @tparam ObjFun A callable type for the objective function
371+
* @tparam ThetaGradFun A callable type for the theta gradient function
372+
* @tparam CovarianceT A matrix type for the covariance (must support LLT solve)
373+
* @tparam ThetaInitializer A type for the initial theta (e.g., Eigen vector)
371374
* @param theta_size Dimension of the latent space
372375
* @param obj_fun Objective function: (a, theta) -> double
373376
* @param theta_grad_f Gradient function: theta -> grad
377+
* @param covariance Covariance matrix for the latent variables
374378
* @param a_init Initial a value consistent with theta_init
375379
* @param theta_init Initial theta value
376380
*/

test/unit/math/laplace/laplace_marginal_density_estimator_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ struct QuarticLikelihood {
2828
struct TinyQuarticLikelihood {
2929
template <typename Theta>
3030
auto operator()(const Theta& theta, std::ostream* /*msgs*/) const {
31-
return 1e-8 * QuarticLikelihood{}(theta, nullptr);
31+
return 1e-8 * QuarticLikelihood{}(theta, nullptr); // NOLINT
3232
}
3333
};
3434

0 commit comments

Comments
 (0)