]> git.sesse.net Git - stockfish/commit
Remove an useless Max() in passed pawns evaluation
authorMarco Costalba <mcostalba@gmail.com>
Sat, 15 May 2010 23:56:05 +0000 (00:56 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 15 May 2010 23:56:05 +0000 (00:56 +0100)
commit8b6bcd973134da634a4bd7494f085b68af36fd70
tree3c5efcf30c5d61bae146a37e636d5122f55561d4
parent6c0b2f50032da8e4df0013177d6bb7e1bb1fae8e
Remove an useless Max() in passed pawns evaluation

There is no reason for that since tr cannot become negative.

Spotted by Ralph Stoesser.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/evaluate.cpp