Skip to content

Commit

Permalink
fix n_rows variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwendt committed Mar 19, 2021
1 parent dfa37b9 commit 5f25df7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/benchmarks/string/convert_datetime_benchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ enum class direction { to, from };
template <class TypeParam>
void BM_convert_datetime(benchmark::State& state, direction dir)
{
cudf::size_type const n_rows{static_cast<cudf::size_type>(state.range(0))};
auto const n_rows = static_cast<cudf::size_type>(state.range(0));
auto const data_type = cudf::data_type(cudf::type_to_id<TypeParam>());

auto const table = create_random_table({data_type.id()}, 1, row_count{n_rows});
Expand Down

0 comments on commit 5f25df7

Please sign in to comment.