File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
include/boost/math/distributions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ namespace boost { namespace math {
149
149
150
150
using promoted_real_type = typename policies::evaluation<RealType, Policy>::type;
151
151
promoted_real_type power = (static_cast <promoted_real_type>(x) - static_cast <promoted_real_type>(location)) / static_cast <promoted_real_type>(scale);
152
- return logistic_sigmoid (power, Policy ());
152
+ return logistic_sigmoid (power, policies:: make_forwarding_policy_t < Policy> ());
153
153
}
154
154
155
155
template <class RealType , class Policy >
@@ -252,7 +252,7 @@ namespace boost { namespace math {
252
252
253
253
using promoted_real_type = typename policies::evaluation<RealType, Policy>::type;
254
254
promoted_real_type power = (static_cast <promoted_real_type>(location) - static_cast <promoted_real_type>(x)) / static_cast <promoted_real_type>(scale);
255
- return logistic_sigmoid (power, Policy ());
255
+ return logistic_sigmoid (power, policies:: make_forwarding_policy_t < Policy> ());
256
256
}
257
257
258
258
template <class RealType , class Policy >
You can’t perform that action at this time.
0 commit comments