Fix compilation of alignedvector3 unit test

This commit is contained in:
Gael Guennebaud 2015-06-16 14:40:55 +02:00
parent 7baa1ba03e
commit e2e66930c6

View File

@ -10,6 +10,16 @@
#include "main.h"
#include <unsupported/Eigen/AlignedVector3>
namespace Eigen {
template<typename T,typename Derived>
T test_relative_error(const AlignedVector3<T> &a, const MatrixBase<Derived> &b)
{
return test_relative_error(a.coeffs().template head<3>(), b);
}
}
template<typename Scalar>
void alignedvector3()
{