We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e18dc32 commit 16e1ca8Copy full SHA for 16e1ca8
1 file changed
source/tools/Random.h
@@ -1,7 +1,7 @@
1
/**
2
* @note This file is part of Empirical, https://github.com/devosoft/Empirical
3
* @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md
4
- * @date 2015-2017
+ * @date 2015-2018
5
*
6
* @file Random.h
7
* @brief A versatile and non-patterned pseudo-random-number generator.
@@ -155,7 +155,7 @@ namespace emp {
155
* @param max The upper bound for the random numbers (will never be returned).
156
**/
157
inline double GetDouble(const double max) {
158
- emp_assert(max <= (double) _RAND_MBIG, max); // Precision will be too low past this point...
+ // emp_assert(max <= (double) _RAND_MBIG, max, (double) _RAND_MBIG); // Precision will be too low past this point...
159
return GetDouble() * max;
160
}
161
0 commit comments