From d074606cae2cd5297d49399bcf940fb1ff800a15 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 28 Apr 2024 02:36:42 +0200 Subject: [PATCH] rogueviz:: sag:: Ld to lld --- rogueviz/sag.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rogueviz/sag.cpp b/rogueviz/sag.cpp index 8b7523ce..873e7820 100644 --- a/rogueviz/sag.cpp +++ b/rogueviz/sag.cpp @@ -431,7 +431,7 @@ namespace sag { if(t2 - tl > 980) { tl = t2; - println(hlog, hr::format("it %12Ld temp %6.4f [1/e at %13.6f] cost = %f ", + println(hlog, hr::format("it %12lld temp %6.4f [1/e at %13.6f] cost = %f ", numiter, double(sag::temperature), (double) exp(sag::temperature), double(sag::cost))); } @@ -458,7 +458,7 @@ namespace sag { auto t2 = SDL_GetTicks(); if(t2 - t1 > 1000) { t1 = t2; - println(hlog, hr::format("it %12Ld temp %6.4f [1/e at %13.6f] cost = %f ", + println(hlog, hr::format("it %12lld temp %6.4f [1/e at %13.6f] cost = %f ", numiter, double(sag::temperature), (double) exp(sag::temperature), double(sag::cost))); } @@ -491,7 +491,7 @@ namespace sag { if(t < (sag_ittime+1) / 2) ipturn *= 2; else if(t > sag_ittime * 2) ipturn /= 2; else ipturn = ipturn * sag_ittime / t; - print(hlog, hr::format("it %12Ld temp %6.4f [2:%8.6f,10:%8.6f,50:%8.6f] cost = %f\n", + print(hlog, hr::format("it %12lld temp %6.4f [2:%8.6f,10:%8.6f,50:%8.6f] cost = %f\n", numiter, double(sag::temperature), (double) exp(-2 * exp(-sag::temperature)), (double) exp(-10 * exp(-sag::temperature)),