Skip to content

Commit 5230383

Browse files
committed
Removed errant overwrite of num_deleted_nodes on JSON deserialization
1 parent 89c5bc7 commit 5230383

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/tree.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,6 @@ void Tree::from_json(const json& tree_json) {
665665
tree_json.at("has_categorical_split").get_to(this->has_categorical_split_);
666666
tree_json.at("output_dimension").get_to(this->output_dimension_);
667667
tree_json.at("is_log_scale").get_to(this->is_log_scale_);
668-
this->num_deleted_nodes = 0;
669668

670669
// Unpack the array based fields
671670
JsonToTreeNodeVectors(tree_json, this);

0 commit comments

Comments
 (0)