eqmatrix now actually takes its 'eps' argument into account

This commit is contained in:
Zeno Rogue
2019-09-12 22:43:00 +02:00
parent 156f56feb0
commit 94ccddb873
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ inline hyperpoint xspinpush0(ld alpha, ld x) {
bool eqmatrix(transmatrix A, transmatrix B, ld eps) {
for(int i=0; i<MDIM; i++)
for(int j=0; j<MDIM; j++)
if(std::abs(A[i][j] - B[i][j]) > 1e-2)
if(std::abs(A[i][j] - B[i][j]) > eps)
return false;
return true;
}