We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae76aad commit 186c7cdCopy full SHA for 186c7cd
src/treelearner/split_info.hpp
@@ -53,7 +53,7 @@ struct SplitInfo {
53
bool default_left = true;
54
int8_t monotone_type = 0;
55
inline static int Size(int max_cat_threshold) {
56
- return 2 * sizeof(int) + sizeof(uint32_t) + sizeof(bool) + sizeof(double) * 7 + sizeof(data_size_t) * 2 + max_cat_threshold * sizeof(uint32_t) + sizeof(int8_t);
+ return 2 * sizeof(int) + sizeof(uint32_t) + sizeof(bool) + sizeof(double) * 7 + sizeof(data_size_t) * 2 + max_cat_threshold * sizeof(uint32_t) + sizeof(int8_t) + sizeof(int64_t)*2;
57
}
58
59
inline void CopyTo(char* buffer) const {
0 commit comments