From e2775869588e1df2d19265eac5c167651168a414 Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Wed, 28 Apr 2010 18:51:38 -0400 Subject: Complete rework of global math functions and NumTraits. * Now completely generic so all standard integer types (like char...) are supported. ** add unit test for that (integer_types). * NumTraits does no longer inherit numeric_limits * All math functions are now templated * Better guard (static asserts) against using certain math functions on integer types. --- test/product_extra.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/product_extra.cpp') diff --git a/test/product_extra.cpp b/test/product_extra.cpp index cdef361d6..3644593f0 100644 --- a/test/product_extra.cpp +++ b/test/product_extra.cpp @@ -27,7 +27,7 @@ template void product_extra(const MatrixType& m) { typedef typename MatrixType::Scalar Scalar; - typedef typename NumTraits::FloatingPoint FloatingPoint; + typedef typename NumTraits::NonInteger NonInteger; typedef Matrix RowVectorType; typedef Matrix ColVectorType; typedef Matrix