Skip to content

Commit

Permalink
do not use Inf for Newton Bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanelandt committed Jul 25, 2023
1 parent 6bf5125 commit e7ada7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/boost/math/distributions/skew_normal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -676,8 +676,8 @@ namespace boost{ namespace math{

// refine the result by numerically searching the root of (p-cdf)

const RealType search_min = range(dist).first;
const RealType search_max = range(dist).second;
const RealType search_min = support(dist).first;
const RealType search_max = support(dist).second;

const int get_digits = policies::digits<RealType, Policy>();// get digits from policy,
std::uintmax_t m = policies::get_max_root_iterations<Policy>(); // and max iterations.
Expand Down

0 comments on commit e7ada7f

Please sign in to comment.