diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-23 11:46:58 -0700 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-08-23 11:47:04 -0700 |
commit | 5dc981a827723efc7b007918467b86bf1486da16 (patch) | |
tree | 7a4461230ede28362d6c6225382758af3002aa59 /games/leela-zero/files/patch-src_UCTNode.cpp | |
parent | biology/gkl: update 0.8.11-9 → 0.9.1 (diff) |
games/leela-zero: update 0.17-30 → 0.17.31; Unbreak build
Diffstat (limited to 'games/leela-zero/files/patch-src_UCTNode.cpp')
-rw-r--r-- | games/leela-zero/files/patch-src_UCTNode.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games/leela-zero/files/patch-src_UCTNode.cpp b/games/leela-zero/files/patch-src_UCTNode.cpp new file mode 100644 index 000000000000..5e3452ef0353 --- /dev/null +++ b/games/leela-zero/files/patch-src_UCTNode.cpp @@ -0,0 +1,12 @@ +--- src/UCTNode.cpp.orig 2025-08-23 18:43:12 UTC ++++ src/UCTNode.cpp +@@ -361,8 +361,7 @@ UCTNode* UCTNode::uct_select_child(const int color, co + return best->get(); + } + +-class NodeComp +- : public std::binary_function<UCTNodePointer&, UCTNodePointer&, bool> { ++class NodeComp { + public: + NodeComp(const int color, const float lcb_min_visits) + : m_color(color), m_lcb_min_visits(lcb_min_visits) {} |