fixed inverse_exp being used in non-Sol in makeradar

This commit is contained in:
Zeno Rogue 2019-07-31 17:58:07 +02:00
parent a077e075b9
commit 1dd8a09bfd
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ pair<bool, hyperpoint> 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);