From 1dd8a09bfd669b50b9d14ab0cc18018de4051098 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Wed, 31 Jul 2019 17:58:07 +0200 Subject: [PATCH] fixed inverse_exp being used in non-Sol in makeradar --- graph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cpp b/graph.cpp index c67e1cfb..18782b04 100644 --- a/graph.cpp +++ b/graph.cpp @@ -769,7 +769,7 @@ pair makeradar(hyperpoint h) { using namespace hyperpoint_vec; ld d = hdist0(h); - if(solv::geodesic_movement) { + if(sol && solv::geodesic_movement) { h = solv::inverse_exp(h, true); ld r = hypot_d(3, h); if(r < 1) h = h * (atanh(r) / r);