added some missing CAP_SOLV guards

This commit is contained in:
Zeno Rogue
2019-09-13 19:50:12 +02:00
parent 90baab83eb
commit 8833251c8b
4 changed files with 16 additions and 0 deletions
+2
View File
@@ -1130,7 +1130,9 @@ enum iePrecision { iLazy, iTable };
/** inverse exponential function \see hr::direct_exp */
EX hyperpoint inverse_exp(const hyperpoint h, iePrecision p, bool just_direction IS(true)) {
#if CAP_SOLV
if(sol) return solv::get_inverse_exp(h, p == iLazy, just_direction);
#endif
if(nil) return nilv::get_inverse_exp(h, p == iLazy ? 5 : 20);
if(sl2) return slr::get_inverse_exp(h);
if(prod) return product::inverse_exp(h);