From ed66e41e5ceb949aebffb6ac5c13f4025da692c5 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 21 Jul 2024 21:27:13 +0200 Subject: [PATCH] nil:: lie_log now takes model_used into account (was assuming nmHeis) --- hypgraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hypgraph.cpp b/hypgraph.cpp index 11a48ad2..e1a5e257 100644 --- a/hypgraph.cpp +++ b/hypgraph.cpp @@ -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;