1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-05-08 00:01:24 +00:00

one more unused variable removed

This commit is contained in:
Zeno Rogue
2026-05-02 16:02:51 +02:00
parent 46b0ff0f0c
commit 7b062499a7

View File

@@ -162,7 +162,6 @@ bool kill_off(hyperpoint h1, hyperpoint h2, hyperpoint& h3) {
int bad;
void test_reverse() {
int killed = 0;
bad = 0;
for(int a=0; a<100; a++) {
hyperpoint h = random_spin3() * C0;
@@ -173,8 +172,7 @@ void test_reverse() {
bool ko = kill_off(h, h1, h2);
if(hdist(h, h2) < 1e-5)
;
else if(ko)
killed++;
else if(ko) ;
else {
bad++;
println(hlog, h, " -> ", h1, " -> ", h2);