passing board as reference in PVS
This commit is contained in:
1 parent
2e8c23103f
commit
7253d4f978
2 files changed
+9
-9
No files matched your search
+1
-1
@@ -127,7 +127,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