Removed "using namespace std" statements from header files in EO -- "std::" identifier were added where necessary.
This commit is contained in:
parent
6441ea1ec3
commit
86fa476c67
263 changed files with 2009 additions and 1976 deletions
|
|
@ -51,7 +51,7 @@ template <class T = double> class uniform_generator
|
|||
minim(_min), range(_max-_min), uniform(_rng)
|
||||
{
|
||||
if (_min>_max)
|
||||
throw logic_error("Min is greater than Max in uniform_generator");
|
||||
throw std::logic_error("Min is greater than Max in uniform_generator");
|
||||
}
|
||||
|
||||
T operator()(void) { return minim+static_cast<T>(uniform.uniform(range)); }
|
||||
|
|
@ -94,7 +94,7 @@ template <class T = uint32> class random_generator
|
|||
minim(_min), range(_max-_min), random(_rng)
|
||||
{
|
||||
if (_min>_max)
|
||||
throw logic_error("Min is greater than Max in random_generator");
|
||||
throw std::logic_error("Min is greater than Max in random_generator");
|
||||
}
|
||||
|
||||
T operator()(void) { return (T) (minim + random.random(range)); }
|
||||
|
|
|
|||
Reference in a new issue