From c9168b59bd392c7d77c6cfc7633c1b5aa62a0212 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 28 Jul 2020 13:18:28 +0200 Subject: [PATCH] fixed the radar in SL --- radar.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/radar.cpp b/radar.cpp index 8290a556..15d0154f 100644 --- a/radar.cpp +++ b/radar.cpp @@ -33,8 +33,9 @@ pair makeradar(shiftpoint h) { if(r < 1) h1 = h1 * (atanh(r) / r); else return {false, h1}; } - else - if(prod) h1 = product::inverse_exp(unshift(h)); + else if(prod) h1 = product::inverse_exp(unshift(h)); + else if(sl2) h1 = slr::get_inverse_exp(h); + else h1 = unshift(h); if(nisot::local_perspective_used()) h1 = NLP * h1;