From f3ebb13687a8b5abb1129e877ce08ceeaa9503cd Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Fri, 13 Nov 2026 02:34:44 +0100 Subject: [PATCH] spec: restore the CLI loop's observe_probs line The previous commit also changed the CLI loop's observe_probs condition, but that loop has no forced-window variable, so the Metal build failed there. The line is back as it was; only the serve loop changes. --- src/program/generate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/program/generate.cpp b/src/program/generate.cpp index fbf5a9fb17..c57ba23823 100644 --- a/src/program/generate.cpp +++ b/src/program/generate.cpp @@ -21844,7 +21844,7 @@ int main(int argc, char** argv) { t_cycle_ms[(size_t) T] += round_ms; ++t_cycle_n[(size_t) T]; } - if (spec_cost && use_mtp && timed_round && !from_sfx && !win_forced) policy.observe_probs(dwin.data(), T_mtp - 1, a); + if (spec_cost && use_mtp && timed_round && !from_sfx) policy.observe_probs(dwin.data(), T_mtp - 1, a); if (timed_round && chain_n == 0) policy.observe(from_sfx, T, a, sfx_match, round_ms); else if (timed_round) policy.observe_chain(T_mtp, chain_n, a, cm, round_ms); if (rounds % 64 == 0)