Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #522: improve matrix identity test
Provide floating-point error margins in testing whether or not a matrix is the identity matrix. This is done on a component by component basis. Previously, the matrix values were compared directly to constants '0' and '1', so the test could fail on account of floating-point errors. (squash with parent commit before merging)
- Loading branch information