Skip to content

Commit

Permalink
Merge branch 'check-evasions' into move-legal-pre
Browse files Browse the repository at this point in the history
  • Loading branch information
alex65536 committed Aug 5, 2023
2 parents 62968a9 + 7baad00 commit 6f4b862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/movegen.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,15 +94,15 @@ class MoveGen {
};

// Upper bound for total number of pseudo-legal moves in any valid position. You can use it as a
// buffer size for `genAllMoves()`.
// buffer size for `MoveGen::genAllMoves()`.
constexpr size_t BUFSZ_MOVES = 300;

// Upper bound for total number of pseudo-legal captures in any valid position. You can use it as a
// buffer size for `genCaptures()`.
// buffer size for `MoveGen::genCaptures()`.
constexpr size_t BUFSZ_CAPTURES = 128;

// Upper bound for total number of pseudo-legal simple promotes in any valid position. You can use
// it as a buffer size for `genSimplePromotes()`.
// it as a buffer size for `MoveGen::genSimplePromotes()`.
constexpr size_t BUFSZ_SIMPLE_PROMOTES = 32;

// Returns `true` if the move `move` is pseudo-legal
Expand Down

0 comments on commit 6f4b862

Please sign in to comment.