Skip to content

Commit 58a6d4e

Browse files
committed
fix template requires for bessel_second_kind
1 parent 9fa2d3f commit 58a6d4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stan/math/prim/fun/bessel_second_kind.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ inline T2 bessel_second_kind(int v, const T2 z) {
5353
* @return Bessel second kind function applied to the two inputs.
5454
*/
5555
template <typename T1, typename T2, require_any_container_t<T1, T2>* = nullptr,
56-
require_not_var_matrix_t<T2>* = nullptr>
56+
require_not_var_t<T2>* = nullptr>
5757
inline auto bessel_second_kind(T1&& a, T2&& b) {
5858
return apply_scalar_binary(
5959
[](auto&& c, auto&& d) {

0 commit comments

Comments
 (0)