Fix a couple of warnings in unit tests.

This commit is contained in:
Gael Guennebaud
2013-07-05 13:35:34 +02:00
parent 7d8823c8b7
commit 9b9177f1ce
3 changed files with 5 additions and 3 deletions

View File

@@ -152,6 +152,7 @@ template<typename ArrayType> void comparisons(const ArrayType& m)
template<typename ArrayType> void array_real(const ArrayType& m)
{
using std::abs;
using std::sqrt;
typedef typename ArrayType::Index Index;
typedef typename ArrayType::Scalar Scalar;
typedef typename NumTraits<Scalar>::Real RealScalar;