sync with default branch

This commit is contained in:
Gael Guennebaud
2010-07-22 16:29:35 +02:00
91 changed files with 5391 additions and 602 deletions

View File

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