added new movegen type: quiets | bench 5105878
This commit is contained in:
1 parent
17a0a97896
commit
e8aec47b71
8 files changed
+100
-158
No files matched your search
+2
-2
@@ -3,7 +3,7 @@
|
||||
#include "movegen.h"
|
||||
|
||||
static U64 HelperPerft(Board board, int depth) {
|
||||
MOVEGEN::GenerateMoves<All>(board);
|
||||
MOVEGEN::GenerateMoves<All>(board, true);
|
||||
|
||||
if (depth == 0) return 1ULL;
|
||||
|
||||
@@ -19,7 +19,7 @@ static U64 HelperPerft(Board board, int depth) {
|
||||
}
|
||||
|
||||
void Perft(Board &board, int depth) {
|
||||
MOVEGEN::GenerateMoves<All>(board);
|
||||
MOVEGEN::GenerateMoves<All>(board, true);
|
||||
|
||||
U64 totalNodes = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user