Skip to content

Commit 609b4d5

Browse files
committed
boost policy
1 parent 444c2e8 commit 609b4d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stan/math/prim/fun/owens_t.hpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#define STAN_MATH_PRIM_FUN_OWENS_T_HPP
33

44
#include <stan/math/prim/meta.hpp>
5+
#include <stan/math/prim/fun/boost_policy.hpp>
56
#include <stan/math/prim/functor/apply_scalar_binary.hpp>
67
#include <boost/math/special_functions/owens_t.hpp>
78

@@ -55,7 +56,9 @@ namespace math {
5556
* @param a Second argument
5657
* @return Owen's T function applied to the arguments.
5758
*/
58-
inline double owens_t(double h, double a) { return boost::math::owens_t(h, a); }
59+
inline double owens_t(double h, double a) {
60+
return boost::math::owens_t(h, a, boost_policy_t<>());
61+
}
5962

6063
/**
6164
* Enables the vectorized application of the owens_t

0 commit comments

Comments
 (0)