Fixed compile errors when EVAL_LEARN or EVAL_NNUE are defined.

This commit is contained in:
Hisayori Noda
2019-06-18 20:28:50 +09:00
parent bcd6985871
commit f58d616198
8 changed files with 34 additions and 13 deletions
+4
View File
@@ -1,6 +1,8 @@
#ifndef _EVALUATE_MIR_INV_TOOLS_
#define _EVALUATE_MIR_INV_TOOLS_
#if defined(EVAL_NNUE) || defined(EVAL_LEARN)
// BonaPieceのmirror(左右反転)やinverse(盤上の180度回転)させた駒を得るためのツール類。
#include "../types.h"
@@ -40,4 +42,6 @@ namespace Eval
extern void init_mir_inv_tables();
}
#endif // defined(EVAL_NNUE) || defined(EVAL_LEARN)
#endif