Skip to content

Commit

Permalink
PolicyBook有効化すると、ビルド通らなかったの修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
yaneurao committed Dec 20, 2024
1 parent acd1ef8 commit 9c18e28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/book/policybook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ Tools::Result PolicyBook::read_book()
}
return result;
}
return Tools::Result::Ok();

#else
// ただし、ENABLE_POLICY_BOOK_LEARNが定義されているときは、毎回読み込む。(局後学習データがあるため)
Expand All @@ -204,10 +205,9 @@ Tools::Result PolicyBook::read_book()
if (result.is_ok())
merge_book(pb);
}
return result; // 読み込めたことにしておく。

#endif

return result; // 読み込めたことにしておく。
}


Expand Down

0 comments on commit 9c18e28

Please sign in to comment.