diff --git a/libdistopia/test/test_fixtures.h b/libdistopia/test/test_fixtures.h index bc2db44b..2d406eeb 100644 --- a/libdistopia/test/test_fixtures.h +++ b/libdistopia/test/test_fixtures.h @@ -163,7 +163,7 @@ class CoordinatesIdx : public ::testing::Test { ref_results = new T[nidx]; results = new T[nidx]; - RandomFloatingPoint(coords, ncoords, 0 - delta, boxsize + delta); + RandomFloatingPoint(coords, ncoords * 3, 0 - delta, boxsize + delta); RandomInt(big_idx, nidx, 0, ncoords); // copy bigidx into smaller, and also make contig coords array