diff --git a/rogueviz/collatz.cpp b/rogueviz/collatz.cpp index 4f5b7474..391a570c 100644 --- a/rogueviz/collatz.cpp +++ b/rogueviz/collatz.cpp @@ -37,7 +37,7 @@ namespace collatz { reached = (2*reached-1) / 3; else reached *= 2; } - printf("reached = %lld\n", reached); + println(hlog, "reached = ", llts(reached)); vector seq; while(reached>1) { seq.push_back(llts(reached));