Opened 11 years ago

Closed 10 years ago

#6344 closed Bugs (fixed)

Unnecessary (and heavyweight) include in Boost.Random

Reported by: John Maddock Owned by: Steven Watanabe
Milestone: To Be Determined Component: random
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

In generate_canonical.hpp there is:

#include <boost/math/special_functions.hpp>

Which is a rather heavyweight #include as it brings in almost all of Boost.Math. Furthermore, a quick grep suggests that nothing from there is actually used by Boost.Random anyway?

Suggest this #include is removed.

Change History (1)

comment:1 by Steven Watanabe, 10 years ago

Resolution: fixed
Status: newclosed

(In [78511]) Remove unnecessary #include. Fixes #6344.

Note: See TracTickets for help on using tickets.