1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-03-09 22:59:43 +00:00

rogueviz:: sag:: flush progress output

This commit is contained in:
Zeno Rogue
2025-12-05 14:33:00 +01:00
parent 4d4209d958
commit 9253914760

View File

@@ -133,11 +133,12 @@ void dofullsa(ld satime) {
sag::saiter();
}
if(t2 - tl > view_each * .98) {
if(debug_progress && t2 - tl > view_each * .98) {
tl = t2;
if(debug_progress) println(hlog, format("it %12lld temp %7.4f [1/e at %13.6f] cost = %f ",
println(hlog, format("it %12lld temp %7.4f [1/e at %13.6f] cost = %f ",
numiter, double(sag::temperature), (double) exp(sag::temperature),
double(sag::cost)));
hlog.flush();
}
}