Navigation Menu

Skip to content

Commit

Permalink
Explicit float type to avoid warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alriddoch committed Feb 28, 2012
1 parent 498ec3a commit 42eef0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wfmath/rotmatrix_test.cpp
Expand Up @@ -87,7 +87,7 @@ void test_rotmatrix(const RotMatrix<dim>& m)
for(int j = 0; j < dim; ++j) {
CoordType diff = m.elem(i, j) - str_m.elem(i, j);
// cout << diff;
assert(std::fabs(diff) < FloatMax(numeric_constants<CoordType>::epsilon(), 1e-6));
assert(std::fabs(diff) < FloatMax(numeric_constants<CoordType>::epsilon(), 1e-6f));
// if(i < dim - 1 || j < dim - 1)
// cout << ", ";
}
Expand Down

0 comments on commit 42eef0a

Please sign in to comment.