X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmain.cpp;h=b6639f26656b6e84955e71c6815a51f1a6d34066;hp=6c1aa034c318e9802c9e082d4db2394cc0ded307;hb=6f00ea1c0fa32f3c1923e7e29a70cfc0d8dc1cc5;hpb=d963529dcaa3ba80267aaca8b769a3081d2c5da9 diff --git a/src/main.cpp b/src/main.cpp index 6c1aa034..b6639f26 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -45,12 +45,10 @@ public: Status Probe(ServerContext* context, const HashProbeRequest* request, HashProbeResponse *response) { - std::cout << "fen=" << request->fen() << std::endl; Position pos(request->fen(), /*isChess960=*/false, Threads.main()); if (!pos.pos_is_ok()) { return Status(StatusCode::INVALID_ARGUMENT, "Invalid FEN"); } - std::cout << "parsed=" << pos.fen() << std::endl; bool found; TTEntry *entry = TT.probe(pos.key(), found); response->set_found(found); @@ -59,7 +57,7 @@ public: response->set_value(entry->value()); response->set_eval(entry->eval()); response->set_depth(entry->depth()); - response->set_bound(entry->bound()); + response->set_bound(HashProbeResponse::ValueBound(entry->bound())); } return Status::OK; }