Simplify semiopen_file (#2165)
authorprotonspring <mike@whiteley.org>
Wed, 29 May 2019 08:00:32 +0000 (02:00 -0600)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Wed, 29 May 2019 08:00:32 +0000 (10:00 +0200)
commitc645587270c2b08d327d290d0ae3c3f5e0a30eee
treebe87d95ee054766d9254f36207c15e5eee76436c
parent190f38a7c2a64f7e89f06871533d87ba7b287fdc
Simplify semiopen_file (#2165)

This is a non-functional simplification. Since our file_bb handles either Files or Squares, using Square here removes some code. Not likely any performance difference despite the test.

STC
LLR: 2.95 (-2.94,2.94) [-3.00,1.00]
Total: 6081 W: 1444 L: 1291 D: 3346
http://tests.stockfishchess.org/tests/view/5ceb3e2e0ebc5925cf07ab03

Non functional change.
src/evaluate.cpp
src/position.h