mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
fixed a warning in collatz
This commit is contained in:
parent
2af93287ec
commit
4aa7bc9506
@ -37,7 +37,7 @@ namespace collatz {
|
|||||||
reached = (2*reached-1) / 3;
|
reached = (2*reached-1) / 3;
|
||||||
else reached *= 2;
|
else reached *= 2;
|
||||||
}
|
}
|
||||||
printf("reached = %lld\n", reached);
|
println(hlog, "reached = ", llts(reached));
|
||||||
vector<string> seq;
|
vector<string> seq;
|
||||||
while(reached>1) {
|
while(reached>1) {
|
||||||
seq.push_back(llts(reached));
|
seq.push_back(llts(reached));
|
||||||
|
Loading…
Reference in New Issue
Block a user