diff options
Diffstat (limited to 'test/hyperplane.cpp')
-rw-r--r-- | test/hyperplane.cpp | 2 |
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; |