Skip to content

Commit e93ff13

Browse files
committed
Silence unused variable warning
1 parent 55d4f4d commit e93ff13

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

stan/math/mix/functor/laplace_likelihood.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ inline auto compute_s2(F&& f, Theta&& theta, AMat&& A,
227227
auto shallow_copy_args
228228
= shallow_copy_vargs<fvar<fvar<var>>>(std::forward_as_tuple(args...));
229229
// build a “row” index 0,1,2,…,total-1
230-
Eigen::Index total = n_blocks * hessian_block_size;
231230
for (Eigen::Index i = 0; i < hessian_block_size; ++i) {
232231
nested_rev_autodiff nested;
233232
v.setZero();

0 commit comments

Comments
 (0)