1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-26 10:00:42 +00:00

rogueviz:: sag:: fixed unini variable

This commit is contained in:
Zeno Rogue 2024-04-28 02:01:30 +02:00
parent fd1960191e
commit 1e3347590b

View File

@ -734,7 +734,7 @@ namespace sag {
hyperpoint np = rgpushxto0(placement[i]) * h; hyperpoint np = rgpushxto0(placement[i]) * h;
ld change; ld change = 0;
for(auto e: edges_yes[i]) change -= lgemb.lyes(pdist(placement[i], placement[e])); for(auto e: edges_yes[i]) change -= lgemb.lyes(pdist(placement[i], placement[e]));
for(auto e: edges_no[i]) change -= lgemb.lno(pdist(placement[i], placement[e])); for(auto e: edges_no[i]) change -= lgemb.lno(pdist(placement[i], placement[e]));
for(auto e: edges_yes[i]) change += lgemb.lyes(pdist(np, placement[e])); for(auto e: edges_yes[i]) change += lgemb.lyes(pdist(np, placement[e]));