Skip to content

Commit

Permalink
don't use VLA, for C++ conformance
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn authored and hoffmang9 committed Nov 11, 2020
1 parent 61bc521 commit c27f968
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,7 @@ TEST_CASE("Sort on disk")
SECTION("Lazy Sort Manager QS")
{
uint32_t iters = 250000;
uint32_t size = 32;
uint32_t const size = 32;
vector<Bits> input;
const uint32_t memory_len = 1000000;
SortManager manager(memory_len, 16, 4, size, ".", "test-files", 0, 1);
Expand Down Expand Up @@ -723,7 +723,7 @@ TEST_CASE("Sort on disk")
SECTION("Lazy Sort Manager uniform sort")
{
uint32_t iters = 120000;
uint32_t size = 32;
uint32_t const size = 32;
vector<Bits> input;
const uint32_t memory_len = 1000000;
SortManager manager(memory_len, 16, 4, size, ".", "test-files", 0, 1);
Expand Down Expand Up @@ -751,7 +751,7 @@ TEST_CASE("Sort on disk")
SECTION("Sort in Memory")
{
uint32_t iters = 100000;
uint32_t size = 32;
uint32_t const size = 32;
vector<Bits> input;
uint32_t begin = 1000;
FileDisk disk("test_file.bin");
Expand Down

0 comments on commit c27f968

Please sign in to comment.