aboutsummaryrefslogtreecommitdiff
path: root/test/dontalign.cpp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-09 05:58:01 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-05-09 05:58:01 +0000
commit567bb5510ac135c4df6d26f122729c0fad93dd39 (patch)
treefb979fb4cf4f8052c8cc66b1ec9516d91fcd859b /test/dontalign.cpp
parentce1dd15d7e88ff8c89e6df89215b9653fee0d173 (diff)
parentbc0f5df265caa21a2120c22453655a7fcc941991 (diff)
downloadeigen-android13-frc-ipsec-release.tar.gz
Snap for 8558685 from bc0f5df265caa21a2120c22453655a7fcc941991 to tm-frc-ipsec-releaset_frc_ips_330443010android13-frc-ipsec-release
Change-Id: I97a677338f83c747ff44f100e3b140484c5b3ae2
Diffstat (limited to 'test/dontalign.cpp')
-rw-r--r--test/dontalign.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dontalign.cpp b/test/dontalign.cpp
index 4643cfed6..2e4102b86 100644
--- a/test/dontalign.cpp
+++ b/test/dontalign.cpp
@@ -19,7 +19,6 @@
template<typename MatrixType>
void dontalign(const MatrixType& m)
{
- typedef typename MatrixType::Index Index;
typedef typename MatrixType::Scalar Scalar;
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, 1> VectorType;
typedef Matrix<Scalar, MatrixType::RowsAtCompileTime, MatrixType::RowsAtCompileTime> SquareMatrixType;
@@ -45,7 +44,7 @@ void dontalign(const MatrixType& m)
internal::aligned_delete(array, rows);
}
-void test_dontalign()
+EIGEN_DECLARE_TEST(dontalign)
{
#if defined EIGEN_TEST_PART_1 || defined EIGEN_TEST_PART_5
dontalign(Matrix3d());