From fbd57085a560b3dd703ef5a8ff57cce55fec92dc Mon Sep 17 00:00:00 2001 From: Karthikeyan <6488848+karthikeyann@users.noreply.github.com> Date: Fri, 25 Feb 2022 02:33:24 +0530 Subject: [PATCH] address review comments --- cpp/benchmarks/common/generate_nullmask.cu | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cpp/benchmarks/common/generate_nullmask.cu b/cpp/benchmarks/common/generate_nullmask.cu index 5b343c47e80..502af95a971 100644 --- a/cpp/benchmarks/common/generate_nullmask.cu +++ b/cpp/benchmarks/common/generate_nullmask.cu @@ -29,12 +29,8 @@ struct bool_generator { thrust::minstd_rand engine; thrust::uniform_real_distribution dist; float probability_true; - bool_generator(thrust::minstd_rand engine, float probability_true) - : engine(engine), dist{0, 1}, probability_true{probability_true} - { - } - bool_generator(unsigned seed, float valid_probability) - : engine(seed), dist{0, 1}, probability_true{valid_probability} + bool_generator(unsigned seed, float probability_true) + : engine(seed), dist{0, 1}, probability_true{probability_true} { }