Skip to content

Commit f2e18ec

Browse files
committed
Merge branch 'feature/apply-jac-ops' of github.com:stan-dev/math into feature/apply-jac-ops
2 parents c9a2f7e + d852e2d commit f2e18ec

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

stan/math/rev/functor/adj_jac_apply.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ struct adj_jac_vari : public vari {
510510
internal::build_y_adj(y_vi_, M_, y_adj);
511511
auto y_adj_jacs = f_.multiply_adjoint_jacobian(is_var_, y_adj);
512512

513-
apply([this](auto&&... args) { this->accumulate_adjoints(args...); }, y_adj_jacs);
513+
apply([this](auto&&... args) { this->accumulate_adjoints(args...); },
514+
y_adj_jacs);
514515
}
515516
};
516517

0 commit comments

Comments
 (0)