Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Aug 1, 2023
1 parent bcb6ac1 commit bf15a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tree/hist/param.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void HistMakerTrainParam::CheckTreesSynchronized(RegTree const* local_tree) cons
collective::Broadcast(&s_model, 0);

RegTree ref_tree{}; // rank 0 tree
auto j_ref_tree = Json::Load(StringView{s_model});
auto j_ref_tree = Json::Load(StringView{s_model}, std::ios::binary);
ref_tree.LoadModel(j_ref_tree);
CHECK(*local_tree == ref_tree);
}
Expand Down

0 comments on commit bf15a44

Please sign in to comment.