1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-01-08 20:39:03 +00:00

rogueviz:: sag:: correct flushing in one place more

This commit is contained in:
Zeno Rogue
2025-12-12 17:45:17 +01:00
parent 289e9260d5
commit 6c244d9e0c

View File

@@ -195,11 +195,11 @@ void dofullsa_iterations(long long saiter) {
int cpct = numiter * 20 / (saiter-1);
if(cpct > lpct && output_fullsa) {
if(debug_progress && cpct > lpct && output_fullsa) {
lpct = cpct;
if(debug_progress)
println(hlog, format("it %12lld ratio %6.3f temp %8.4f step %9.3g cost %9.2f R=%8.4f T=%8.4f",
numiter, last_ratio, double(sag::temperature), (double) exp(sag::temperature), cost, lgsag.R, lgsag.T));
hlog.flush();
}
}