add a geometry unit test and fix a couple of typo in Quaternion.h

This commit is contained in:
Gael Guennebaud
2008-06-03 07:32:12 +00:00
parent 8de4d92b70
commit a9cf229e15
6 changed files with 114 additions and 32 deletions

View File

@@ -165,7 +165,7 @@ namespace Eigen {
template<typename T> inline typename NumTraits<T>::Real test_precision();
template<> inline int test_precision<int>() { return 0; }
template<> inline float test_precision<float>() { return 1e-2f; }
template<> inline float test_precision<float>() { return 1e-3f; }
template<> inline double test_precision<double>() { return 1e-5; }
template<> inline float test_precision<std::complex<float> >() { return test_precision<float>(); }
template<> inline double test_precision<std::complex<double> >() { return test_precision<double>(); }