Opened 16 years ago

Closed 16 years ago

#649 closed Patches (None)

Missing include in Boost.Random

Reported by: Daniel James Owned by: nobody
Milestone: Component: None
Version: None Severity:
Keywords: Cc:

Description

<boost/random/inversive_congruential.hpp> needs to
include <stdexcept> as it uses std::invalid_argument.

Change History (3)

comment:1 by tarjeik, 16 years ago

Logged In: YES 
user_id=575312

*** inversive_congruential.hpp.orig     2006-06-20
12:56:29.000000000 +0200
--- inversive_congruential.hpp  2006-06-20
13:01:46.000000000 +0200
***************
*** 17,22 ****
--- 17,23 ----
  #define BOOST_RANDOM_INVERSIVE_CONGRUENTIAL_HPP

  #include <iostream>
+ #include <stdexcept>
  #include <cassert>
  #include <boost/config.hpp>
  #include <boost/static_assert.hpp>

comment:2 by Matthias Troyer, 16 years ago

Logged In: YES 
user_id=52625

Patch applied.

comment:3 by Matthias Troyer, 16 years ago

Status: assignedclosed
Note: See TracTickets for help on using tickets.