Skip to content

Commit

Permalink
Some fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
syzygy1 committed Sep 14, 2020
1 parent 0969fd2 commit ab91c6e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/evaluate.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "types.h"

#define DefaultEvalFile "nn-308d71810dff.nnue"
#define DefaultEvalFile "nn-82215d0fd0df.nnue"

enum { Tempo = 28 };

Expand Down
1 change: 0 additions & 1 deletion src/nnue.c
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,6 @@ INLINE void affine_propagate(clipped_t *input, int32_t *output, unsigned inDims,
output[i] = sum[0] + sum[1] + sum[2] + sum[3];

#else
(void)numChunks;
int32_t sum = biases[i];
for (unsigned j = 0; j < inDims; j++)
sum += weights[offset + j] * input[j];
Expand Down
3 changes: 2 additions & 1 deletion src/ucioption.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include <sys/mman.h>
#endif

#include "evaluate.h"
#include "misc.h"
#include "numa.h"
#include "polybook.h"
Expand Down Expand Up @@ -120,7 +121,7 @@ static Option optionsMap[] = {
{ "BestBookMove", OPT_TYPE_CHECK, 1, 0, 0, NULL, on_best_book_move, 0, NULL },
{ "BookDepth", OPT_TYPE_SPIN, 255, 1, 255, NULL, on_book_depth, 0, NULL },
#ifdef NNUE
{ "EvalFile", OPT_TYPE_STRING, 0, 0, 0, "nn-82215d0fd0df.nnue", NULL, 0, NULL },
{ "EvalFile", OPT_TYPE_STRING, 0, 0, 0, DefaultEvalFile, NULL, 0, NULL },
{ "Use NNUE", OPT_TYPE_COMBO, 0, 0, 0,
"Hybrid var Hybrid var Pure var Classical", NULL, 0, NULL },
#endif
Expand Down

0 comments on commit ab91c6e

Please sign in to comment.