Skip to content

Commit

Permalink
fix msvc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruslan Nigmatullin committed Jun 6, 2023
1 parent b9106d2 commit 9e134cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ void BM_ComputeIndex(benchmark::State &state)
std::array<double, 1000> batch;
std::default_random_engine generator;
std::uniform_real_distribution<double> distribution(0, 1000);
Base2ExponentialHistogramIndexer indexer(state.range(0));
Base2ExponentialHistogramIndexer indexer(static_cast<int32_t>(state.range(0)));

while (state.KeepRunningBatch(static_cast<benchmark::IterationCount>(batch.size())))
{
Expand Down

0 comments on commit 9e134cb

Please sign in to comment.