aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/nullary.cpp
diff options
context:
space:
mode:
authorGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2014-12-04 22:48:53 +0100
committerGravatar Christoph Hertzberg <chtz@informatik.uni-bremen.de>2014-12-04 22:48:53 +0100
commite8cdbedefb1913b5a0e2f2b7d38470f081cb8d29 (patch)
treeb64cb33df57f4cfcd87bf42643279629dc0900d3 /test/nullary.cpp
parent6ccf97f3e6ce39c210e225ba7aae66da15b71660 (diff)
bug #877, bug #572: Introduce a global Index typedef. Rename Sparse*::Index to StorageIndex, make Dense*::StorageIndex an alias to DenseIndex. Overall this commit gets rid of all Index conversion warnings.
Diffstat (limited to 'test/nullary.cpp')
-rw-r--r--test/nullary.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nullary.cpp b/test/nullary.cpp
index 5408d88b2..a19c674e4 100644
--- a/test/nullary.cpp
+++ b/test/nullary.cpp
@@ -35,8 +35,8 @@ bool equalsIdentity(const MatrixType& A)
template<typename VectorType>
void testVectorType(const VectorType& base)
{
- typedef typename internal::traits<VectorType>::Index Index;
- typedef typename internal::traits<VectorType>::Scalar Scalar;
+ typedef typename VectorType::Index Index;
+ typedef typename VectorType::Scalar Scalar;
const Index size = base.size();