X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=epd.c;h=af427ad9b31ef1430f19ab4201161fa95f423dec;hb=1087eb7b2d8447adf9a7deb549d4004a87b46b10;hp=c79c3993bbacf80ebd32632ba71dd68540730228;hpb=e15efca6667b2673b4c1a5879a6917eab6800e58;p=polyglot.git diff --git a/epd.c b/epd.c index c79c399..af427ad 100644 --- a/epd.c +++ b/epd.c @@ -22,13 +22,16 @@ #include "uci.h" #include "util.h" + +// macros + +#define StringSize 4096 + // constants static const bool UseDebug = FALSE; static const bool UseTrace = FALSE; -static const int StringSize = 4096; - // variables static int MinDepth; @@ -179,7 +182,7 @@ static void epd_test_file(const char file_name[]) { time_tot = 0.0; node_tot = 0.0; - printf("\nEngineName=%s\n",option_get_string("EngineName")); + printf("\nEngineName=%s\n",option_get_string(Option,"EngineName")); printf("\n[Search parameters: MaxDepth=%d MaxTime=%.1f DepthDelta=%d MinDepth=%d MinTime=%.1f]\n\n",MaxDepth,MaxTime,DepthDelta,MinDepth,MinTime);