Skip to content

Commit

Permalink
Fix dmlc#2
Browse files Browse the repository at this point in the history
  • Loading branch information
Frantisek Kropac committed Sep 5, 2022
1 parent af1cda1 commit b55a7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/learner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class LearnerConfiguration : public Learner {
}

virtual PredictionContainer* GetPredictionCache() const {
std::lock_guard<std::mutex> lock(tlpc_lock);
// std::lock_guard<std::mutex> lock(tlpc_lock);
return &((*ThreadLocalPredictionCache::Get())[this]);
}

Expand Down

0 comments on commit b55a7be

Please sign in to comment.