Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #522: float-guard the identity matrix 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, matrix components were compared with exactly '0' and '1', so the test could fail on account of roundoff errors on the components.
- Loading branch information