Skip to content

Commit d624244

Browse files
committed
Fix FoW compile errors
1 parent 21ad622 commit d624244

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/imperfect/Expander.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ void Expander::expand_leaf(GameTreeNode* leaf, Subgame& subgame, Position& pos)
202202
infoset->variances.resize(numActions, 2.0f); // Variance prior {-1, +1}
203203

204204
// Initialize to best child (Appendix B.3.4)
205-
initialize_to_best_child(infoset, childEvals);
205+
initialize_to_best_child(infoset.get(), childEvals);
206206

207207
infoset->expanded = true;
208208
}

src/imperfect/Subgame.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -280,6 +280,7 @@ void Subgame::mark_frozen_state(GameTreeNode* node) {
280280
float compute_alternative_value(const InfosetNode* infoset,
281281
const std::vector<float>& currentX,
282282
const std::vector<float>& currentY) {
283+
(void)currentX; // Suppress unused parameter warning
283284
if (!infoset)
284285
return 0.0f;
285286

0 commit comments

Comments
 (0)