From 609b4d5fc894809b1566f86279eb157a3baea4ff Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 17 Jan 2025 21:00:30 +0800 Subject: [PATCH] boost policy --- stan/math/prim/fun/owens_t.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/stan/math/prim/fun/owens_t.hpp b/stan/math/prim/fun/owens_t.hpp index 1855ce7827d..6c7cd39a3c3 100644 --- a/stan/math/prim/fun/owens_t.hpp +++ b/stan/math/prim/fun/owens_t.hpp @@ -2,6 +2,7 @@ #define STAN_MATH_PRIM_FUN_OWENS_T_HPP #include +#include #include #include @@ -55,7 +56,9 @@ namespace math { * @param a Second argument * @return Owen's T function applied to the arguments. */ -inline double owens_t(double h, double a) { return boost::math::owens_t(h, a); } +inline double owens_t(double h, double a) { + return boost::math::owens_t(h, a, boost_policy_t<>()); +} /** * Enables the vectorized application of the owens_t