Skip to content

Commit a83fca8

Browse files
committed
Also change uniform_real_distribution()
1 parent 4c3cae6 commit a83fca8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Generator/include/CGAL/random_convex_hull_in_disc_2.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,14 @@ void generate_points_annulus(long n, double a, double b, double small_radius,
6969
}
7070
if (n == 1) // generation of a point
7171
{
72-
boost::random::uniform_real_distribution<double> random_squared_radius_distribution(
72+
std::uniform_real_distribution<double> random_squared_radius_distribution(
7373
small_radius * small_radius / (big_radius * big_radius), 1);
7474

75-
boost::random::uniform_real_distribution<double> random_angle_distribution(a, b);
75+
std::uniform_real_distribution<double> random_angle_distribution(a, b);
7676
boost::random::variate_generator<
77-
GEN&, boost::random::uniform_real_distribution<double> > random_angle(gen, random_angle_distribution);
77+
GEN&, std::uniform_real_distribution<double> > random_angle(gen, random_angle_distribution);
7878
boost::random::variate_generator<
79-
GEN&, boost::random::uniform_real_distribution<double> > random_squared_radius(gen, random_squared_radius_distribution);
79+
GEN&, std::uniform_real_distribution<double> > random_squared_radius(gen, random_squared_radius_distribution);
8080

8181
double alpha = random_angle();
8282
double r = big_radius * std::sqrt(random_squared_radius());

0 commit comments

Comments
 (0)