diff --git a/unsupported/test/alignedvector3.cpp b/unsupported/test/alignedvector3.cpp index fc2bc2135..0e6226ad3 100644 --- a/unsupported/test/alignedvector3.cpp +++ b/unsupported/test/alignedvector3.cpp @@ -10,6 +10,16 @@ #include "main.h" #include +namespace Eigen { + +template +T test_relative_error(const AlignedVector3 &a, const MatrixBase &b) +{ + return test_relative_error(a.coeffs().template head<3>(), b); +} + +} + template void alignedvector3() {