"git@developer.sourcefind.cn:tianlh/lightgbm-dcu.git" did not exist on "1dbf4382fd7d8cd6ce92b53c3b84aa479aabfc19"
Unverified Commit 28e0e6f0 authored by shiyu1994's avatar shiyu1994 Committed by GitHub
Browse files

[c++] virtual destructor for gradient discretizer (#5965)

parent 71403968
......@@ -30,7 +30,7 @@ class GradientDiscretizer {
stochastic_rounding_ = stochastic_rounding;
}
~GradientDiscretizer() {}
virtual ~GradientDiscretizer() {}
virtual void DiscretizeGradients(
const data_size_t num_data,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment