diff --git a/tests/library/time/digxel-test.cpp b/tests/library/time/digxel-test.cpp index dab6738d2..c3e891f28 100644 --- a/tests/library/time/digxel-test.cpp +++ b/tests/library/time/digxel-test.cpp @@ -54,7 +54,7 @@ namespace test{ inline double randomFrac() { - double arbitrary = (rand() % RAND_RANGE); + double arbitrary = (1 + rand() % RAND_RANGE); arbitrary /= (1 + rand() % RAND_DENOM); static double prevVal;