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.
2 parents c9a2f7e + d852e2d commit f2e18ecCopy full SHA for f2e18ec
1 file changed
stan/math/rev/functor/adj_jac_apply.hpp
@@ -510,7 +510,8 @@ struct adj_jac_vari : public vari {
510
internal::build_y_adj(y_vi_, M_, y_adj);
511
auto y_adj_jacs = f_.multiply_adjoint_jacobian(is_var_, y_adj);
512
513
- apply([this](auto&&... args) { this->accumulate_adjoints(args...); }, y_adj_jacs);
+ apply([this](auto&&... args) { this->accumulate_adjoints(args...); },
514
+ y_adj_jacs);
515
}
516
};
517
0 commit comments