Fixed issue with Valgrind.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-04-04 18:01:35 +02:00
parent 6f60cd7c96
commit 460f9308a0
2 changed files with 13 additions and 19 deletions

View File

@@ -93,7 +93,7 @@ TEST_CASE("Random distribution (max 0, min 2)", "[Utilities]") {
TEST_CASE("Random distribution (max 0, min 3)", "[Utilities]") {
auto rand = Arbutils::Random(10);
const int size = 500000;
const size_t size = 100000;
int arr[size];
for (size_t i = 0; i < size; i++) {
arr[i] = rand.Get(0, 3);