added some missing CAP_SOLV guards

This commit is contained in:
Zeno Rogue committed 2019-09-13 19:50:12 +02:00
1 parent 90baab83eb
commit 8833251c8b
4 files changed
+16

No files matched your search

+2
View File
@@ -968,7 +968,9 @@ EX bool in_smart_range(const transmatrix& T) {
hyperpoint h = tC0(T);
if(invalid_point(h)) return false;
if(nil) return true;
#if CAP_SOLV
if(pmodel == mdGeodesic) return solv::in_table_range(h);
#endif
hyperpoint h1;
applymodel(h, h1);
if(invalid_point(h1)) return false;