We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55d4f4d commit e93ff13Copy full SHA for e93ff13
1 file changed
stan/math/mix/functor/laplace_likelihood.hpp
@@ -227,7 +227,6 @@ inline auto compute_s2(F&& f, Theta&& theta, AMat&& A,
227
auto shallow_copy_args
228
= shallow_copy_vargs<fvar<fvar<var>>>(std::forward_as_tuple(args...));
229
// build a “row” index 0,1,2,…,total-1
230
- Eigen::Index total = n_blocks * hessian_block_size;
231
for (Eigen::Index i = 0; i < hessian_block_size; ++i) {
232
nested_rev_autodiff nested;
233
v.setZero();
0 commit comments