aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/hyperplane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/hyperplane.cpp')
-rw-r--r--test/hyperplane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/hyperplane.cpp b/test/hyperplane.cpp
index 927553f8e..fdb32f75c 100644
--- a/test/hyperplane.cpp
+++ b/test/hyperplane.cpp
@@ -65,7 +65,7 @@ template<typename HyperplaneType> void hyperplane(const HyperplaneType& _plane)
if (!NumTraits<Scalar>::IsComplex)
{
MatrixType rot = MatrixType::Random(dim,dim).qr().matrixQ();
- Scaling<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random());
+ DiagonalMatrix<Scalar,HyperplaneType::AmbientDimAtCompileTime> scaling(VectorType::Random());
Translation<Scalar,HyperplaneType::AmbientDimAtCompileTime> translation(VectorType::Random());
pl2 = pl1;