1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 06:27:17 +00:00

nil:: lie_log now takes model_used into account (was assuming nmHeis)

This commit is contained in:
Zeno Rogue 2024-07-21 21:27:13 +02:00
parent 34fbe7a7bf
commit ed66e41e5c

View File

@ -3513,7 +3513,7 @@ EX hyperpoint lie_log(const shiftpoint h1) {
#if MAXMDIM >= 4
else if(nil) {
h[3] = 0;
h[2] -= h[0] * h[1] / 2;
h[2] -= nilv::model_used * nilv::sym_to_heis_bonus(h);
}
else if(sol && !nih) {
h[3] = 0;