passing board by reference in PVS and QS | bench 1857933
This commit is contained in:
1 parent
0d104ba713
commit
bc290a427c
2 files changed
+9
-9
No files matched your search
+1
-1
@@ -125,7 +125,7 @@ public:
|
||||
};
|
||||
|
||||
template <bool isPV, searchMode mode>
|
||||
SearchResults PVS(Board board, int depth, int alpha, int beta, int ply, SearchContext& ctx);
|
||||
SearchResults PVS(Board& board, int depth, int alpha, int beta, int ply, SearchContext& ctx);
|
||||
|
||||
template <searchMode mode>
|
||||
SearchResults SearchPosition(Board &board, SearchParams params, SearchContext& ctx);
|
||||
|
||||
Reference in new issue
Block a user