mirror of
https://gitlab.com/libeigen/eigen.git
synced 2024-12-21 07:19:46 +08:00
Fix compilation of alignedvector3 unit test
This commit is contained in:
parent
7baa1ba03e
commit
e2e66930c6
@ -10,6 +10,16 @@
|
|||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <unsupported/Eigen/AlignedVector3>
|
#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>
|
template<typename Scalar>
|
||||||
void alignedvector3()
|
void alignedvector3()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user