biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Enable clang tidy/warnings for tests
[alexxy/gromacs.git]
/
src
/
gromacs
/
random
/
tests
/
threefry.cpp
diff --git
a/src/gromacs/random/tests/threefry.cpp
b/src/gromacs/random/tests/threefry.cpp
index 0930892b3907890d0e9505fa40909b037d59e5e8..6552fec98abc0afdaa671702dff2da126c4246bc 100644
(file)
--- a/
src/gromacs/random/tests/threefry.cpp
+++ b/
src/gromacs/random/tests/threefry.cpp
@@
-174,6
+174,7
@@
TEST_F(ThreeFry2x64Test, InternalCounterSequence)
gmx::ThreeFry2x64<66> rngA(123456, gmx::RandomDomain::Other);
std::vector<uint64_t> result;
+ result.reserve(16);
for (int i = 0; i < 16; i++)
{
result.push_back(rngA());