fix compiler warning (#4588)

This commit is contained in:
Rong Ou 2019-06-20 13:06:26 -07:00 committed by Jiaming Yuan
parent fdf27a5b82
commit 6125521caf

View File

@ -197,8 +197,6 @@ void TestBuildHist(bool use_shared_memory_histograms) {
gpair = GradientPair(grad, hess); gpair = GradientPair(grad, hess);
} }
int num_symbols = shard.n_bins + 1;
thrust::host_vector<common::CompressedByteT> h_gidx_buffer ( thrust::host_vector<common::CompressedByteT> h_gidx_buffer (
shard.gidx_buffer.size()); shard.gidx_buffer.size());