Rename exact_equal to exactly_equal

This commit is contained in:
Danny Robson 2011-10-23 20:14:35 +11:00
parent 30060de999
commit 406b70f1c3
2 changed files with 5 additions and 5 deletions

View File

@ -84,7 +84,7 @@ almost_equal (const double &a, const double &b);
#pragma GCC diagnostic ignored "-Wfloat-equal"
template <typename T>
bool
exact_equal (const T &a, const T &b)
exactly_equal (const T &a, const T &b)
{ return a == b; }
#pragma GCC diagnostic pop

View File

@ -124,10 +124,10 @@ matrix::to_global (const util::point &p) const {
bool
matrix::is_affine (void) const {
return exact_equal (values[3][0], 0.0) &&
exact_equal (values[3][1], 0.0) &&
exact_equal (values[3][2], 0.0) &&
exact_equal (values[3][3], 1.0);
return exactly_equal (values[3][0], 0.0) &&
exactly_equal (values[3][1], 0.0) &&
exactly_equal (values[3][2], 0.0) &&
exactly_equal (values[3][3], 1.0);
}