Commit d43a6a3c authored by Guolin Ke's avatar Guolin Ke
Browse files

fix error when cnt too small in bagging_helper

parent da0eb2bb
......@@ -205,7 +205,6 @@ data_size_t GBDT::BaggingHelper(Random& cur_rand, data_size_t start, data_size_t
right_buffer[cur_right_cnt++] = start + i;
}
}
CHECK(buffer[bag_data_cnt - 1] > buffer[bag_data_cnt]);
CHECK(cur_left_cnt == bag_data_cnt);
return cur_left_cnt;
}
......
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