Commit 001fe536 authored by Guolin Ke's avatar Guolin Ke
Browse files

fix #435.

parent fb96b717
......@@ -18,7 +18,7 @@ public:
explicit DenseBinIterator(const DenseBin<VAL_T>* bin_data, uint32_t min_bin, uint32_t max_bin, uint32_t default_bin)
: bin_data_(bin_data), min_bin_(static_cast<VAL_T>(min_bin)),
max_bin_(static_cast<VAL_T>(max_bin)),
default_bin_(static_cast<uint8_t>(default_bin)) {
default_bin_(static_cast<VAL_T>(default_bin)) {
if (default_bin_ == 0) {
bias_ = 1;
} else {
......
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