diff --git a/hyperpoint.cpp b/hyperpoint.cpp index 7e88d6fc..54760e3f 100644 --- a/hyperpoint.cpp +++ b/hyperpoint.cpp @@ -893,20 +893,20 @@ EX ld det3(const transmatrix& T) { /** determinant */ EX ld det(const transmatrix& T) { - if(GDIM == 2) + if(MDIM == 3) return det3(T); else { ld det = 1; transmatrix M = T; for(int a=0; a