From 42b2aa7596bb85d56c0c5192db58e14da42f167f Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Mon, 19 Aug 2019 12:07:03 +0200 Subject: [PATCH] nisot:: functions get product functions --- nonisotropic.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nonisotropic.cpp b/nonisotropic.cpp index 6af75ed3..286d16a3 100644 --- a/nonisotropic.cpp +++ b/nonisotropic.cpp @@ -754,6 +754,7 @@ EX namespace nisot { EX hyperpoint inverse_exp(const hyperpoint h, iePrecision p, bool just_direction IS(true)) { if(sol) return solv::get_inverse_exp(h, p == iLazy, just_direction); if(nil) return nilv::get_inverse_exp(h, p == iLazy ? 5 : 20); + if(prod) return product::inverse_exp(h); return point3(h[0], h[1], h[2]); } @@ -786,6 +787,7 @@ EX namespace nisot { EX hyperpoint get_exp(hyperpoint v, int steps) { if(sol) return direct_exp(v, steps); if(nil) return nilv::formula_exp(v); + if(prod) return product::direct_exp(v); return v; }