Skip to content

Commit

Permalink
Merge pull request #13 from jf514/foat_bug_fix_0
Browse files Browse the repository at this point in the history
Fixed unused variable warning.
  • Loading branch information
BachiLi authored Jan 12, 2024
2 parents 8dc3977 + 706aaeb commit fae91ae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/tests/matrix.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,13 @@ int main(int argc, char *argv[]) {
);
Matrix4x4 m_inv = inverse(m);
Matrix4x4 m_inv_m = m_inv * m;
int count = 1;
for (int i = 0; i < 4; i++) {
for (int j = 0; j < 4; j++) {
Real target = i == j ? Real(1) : Real(0);
if (fabs(m_inv_m(i, j) - target) > Real(1e-3)) {
printf("FAIL\n");
return 1;
}
count++;
}
}

Expand Down

0 comments on commit fae91ae

Please sign in to comment.