Skip to content

Commit

Permalink
Fix BOARD_SQUARES macro affecting Dirichlet noise.
Browse files Browse the repository at this point in the history
This made the noise more uniform instead of peaky, which is not what we
want.

Fixes issue #1374.
  • Loading branch information
gcp committed May 8, 2018
1 parent 2716f5b commit cde8243
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
* BOARD_SIZE: Define size of the board to compile Leela with, must be an odd number due to winograd tiles
*/
#define BOARD_SIZE 19
#define BOARD_SQUARES BOARD_SIZE*BOARD_SIZE
#define BOARD_SQUARES (BOARD_SIZE*BOARD_SIZE)

#if (BOARD_SIZE % 2 == 0)
#error Code assumes odd board size, remove at your own risk!
Expand Down

0 comments on commit cde8243

Please sign in to comment.