From 16e1ca807e418c29390e396b7dd6fa00ffea1e38 Mon Sep 17 00:00:00 2001 From: Charles Ofria Date: Thu, 5 Apr 2018 21:58:57 -0400 Subject: [PATCH] Removed assert against doubles of too high a max value (though still only 30-bits of resolution. --- source/tools/Random.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tools/Random.h b/source/tools/Random.h index 663948ba18..4a930894f0 100644 --- a/source/tools/Random.h +++ b/source/tools/Random.h @@ -1,7 +1,7 @@ /** * @note This file is part of Empirical, https://github.com/devosoft/Empirical * @copyright Copyright (C) Michigan State University, MIT Software license; see doc/LICENSE.md - * @date 2015-2017 + * @date 2015-2018 * * @file Random.h * @brief A versatile and non-patterned pseudo-random-number generator. @@ -155,7 +155,7 @@ namespace emp { * @param max The upper bound for the random numbers (will never be returned). **/ inline double GetDouble(const double max) { - 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... return GetDouble() * max; }