Skip to content

Commit

Permalink
Simplify QSearch move ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
eduherminio committed Feb 1, 2024
1 parent fd02696 commit 0aa7bff
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Lynx/Search/Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,13 +140,6 @@ internal int ScoreMove(Move move, int ply, ShortMove bestMoveTTCandidate)
[MethodImpl(MethodImplOptions.AggressiveInlining)]
internal int ScoreMoveQuiescence(Move move, int ply, ShortMove bestMoveTTCandidate)
{
if (_isScoringPV && move == _pVTable[ply])
{
_isScoringPV = false;

return EvaluationConstants.PVMoveScoreValue;
}

if ((ShortMove)move == bestMoveTTCandidate)
{
return EvaluationConstants.TTMoveScoreValue;
Expand Down

0 comments on commit 0aa7bff

Please sign in to comment.