fixed a warning in collatz

This commit is contained in:
Zeno Rogue 2020-05-22 20:41:31 +02:00
parent 2af93287ec
commit 4aa7bc9506
1 changed files with 1 additions and 1 deletions

View File

@ -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<string> seq;
while(reached>1) {
seq.push_back(llts(reached));