Skip to content

Commit

Permalink
Remove useless see_margin table (#506)
Browse files Browse the repository at this point in the history
Bench 10727485
  • Loading branch information
cj5716 authored Jan 26, 2025
1 parent 86ceb98 commit 5a96823
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,6 @@ void InitReductions() {
for (int depth = 0; depth < 64; depth++) {
lmp_margin[depth][0] = 1.5 + 0.5 * std::pow(depth, 2.0); // Not improving
lmp_margin[depth][1] = 3.0 + 1.0 * std::pow(depth, 2.0); // improving

see_margin[depth][1] = seeQuietMargin() * std::pow(depth, 1.0); // Quiet moves
see_margin[depth][0] = seeNoisyMargin() * std::pow(depth, 2.0); // Non quiets

}
}

Expand Down
1 change: 0 additions & 1 deletion src/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

inline int reductions[2][64][64];
inline int lmp_margin[64][2];
inline int see_margin[64][2];

inline const std::string start_position = "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1";

Expand Down

0 comments on commit 5a96823

Please sign in to comment.