Skip to content

Commit 176259b

Browse files
committed
fix hessian_times_vector signature
1 parent 4565265 commit 176259b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/mix/functor/hessian_times_vector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void hessian_times_vector(const F& f,
5555
* and pstream.
5656
*/
5757
template <typename F, typename XAdj, typename XVec, typename VVec,
58-
typename... Args>
58+
typename... Args, require_all_eigen_vector_t<XAdj, XVec, VVec>* = nullptr>
5959
inline void hessian_times_vector(const F& f, XAdj& x_adj, XVec&& x, VVec&& v,
6060
Args&&... args) {
6161
nested_rev_autodiff nested;

0 commit comments

Comments
 (0)