mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-27 14:37:16 +00:00
inverse uses MDIM not GDIM
This commit is contained in:
parent
429909bd56
commit
e0852419fc
@ -755,7 +755,7 @@ void inverse_error(const transmatrix& T) {
|
||||
|
||||
/** inverse */
|
||||
EX transmatrix inverse(const transmatrix& T) {
|
||||
if(GDIM == 2) {
|
||||
if(MDIM == 3) {
|
||||
ld d = det(T);
|
||||
transmatrix T2;
|
||||
if(d == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user