aboutsummaryrefslogtreecommitdiff
path: root/src/util/vector.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-10-28 14:14:07 +0100
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-10-28 14:14:11 +0100
commitf8cc2b967b9517af9f858da9170b7bea4bd7c7a3 (patch)
treee2f4f5031b21282b9e24b16aca71cd1b4fdcb9fc /src/util/vector.h
parenta25945318fdc2890a141a28843c2c5af251c9605 (diff)
parent3bb0a4674f74d22043c7911ea76ab8a4d93fed62 (diff)
Merge #17267: bench: Fix negative values and zero for -evals flag
3bb0a4674f74d22043c7911ea76ab8a4d93fed62 bench: Fix negative values and zero for -evals flag (nijynot) Pull request description: This PR makes `bench_bitcoin -evals=0` evaluate at once and throws when `-evals` is a negative integer. --- Currently when you run `bench_bitcoin -evals=0`, it'll get stuck at ``` # Benchmark, evals, iterations, total, min, max, median ``` . This is not intuitively expected and should instead evaluate instantly as it's set to zero. Negative integers for `-evals` does not make sense either and should throw if set. ACKs for top commit: laanwj: ACK 3bb0a4674f74d22043c7911ea76ab8a4d93fed62 Tree-SHA512: 03cd4c7c55134c7ffd8cdb6ee993551ce41061a73e13c3c047247af9df1fd7ed07d798272b643ec864099036922aaadbdcd2b798d710406f48df60b9d5448c26
Diffstat (limited to 'src/util/vector.h')
0 files changed, 0 insertions, 0 deletions