mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-04-23 18:19:34 +08:00
remove unused code
This commit is contained in:
parent
a0e5b00280
commit
2c1ac23c62
@ -41,10 +41,6 @@ template<typename Scalar,int Size> void homogeneous(void)
|
|||||||
typedef Matrix<Scalar,Size+1,Size+1> T2MatrixType;
|
typedef Matrix<Scalar,Size+1,Size+1> T2MatrixType;
|
||||||
typedef Matrix<Scalar,Size+1,Size> T3MatrixType;
|
typedef Matrix<Scalar,Size+1,Size> T3MatrixType;
|
||||||
|
|
||||||
Scalar largeEps = test_precision<Scalar>();
|
|
||||||
if (internal::is_same<Scalar,float>::value)
|
|
||||||
largeEps = 1e-3f;
|
|
||||||
|
|
||||||
VectorType v0 = VectorType::Random(),
|
VectorType v0 = VectorType::Random(),
|
||||||
v1 = VectorType::Random(),
|
v1 = VectorType::Random(),
|
||||||
ones = VectorType::Ones();
|
ones = VectorType::Ones();
|
||||||
|
@ -50,10 +50,6 @@ template<typename Scalar, int Mode, int Options> void non_projective_only()
|
|||||||
typedef Translation<Scalar,2> Translation2;
|
typedef Translation<Scalar,2> Translation2;
|
||||||
typedef Translation<Scalar,3> Translation3;
|
typedef Translation<Scalar,3> Translation3;
|
||||||
|
|
||||||
Scalar largeEps = test_precision<Scalar>();
|
|
||||||
if (internal::is_same<Scalar,float>::value)
|
|
||||||
largeEps = 1e-2f;
|
|
||||||
|
|
||||||
Vector3 v0 = Vector3::Random(),
|
Vector3 v0 = Vector3::Random(),
|
||||||
v1 = Vector3::Random();
|
v1 = Vector3::Random();
|
||||||
|
|
||||||
@ -125,10 +121,6 @@ template<typename Scalar, int Mode, int Options> void transformations()
|
|||||||
typedef Translation<Scalar,2> Translation2;
|
typedef Translation<Scalar,2> Translation2;
|
||||||
typedef Translation<Scalar,3> Translation3;
|
typedef Translation<Scalar,3> Translation3;
|
||||||
|
|
||||||
Scalar largeEps = test_precision<Scalar>();
|
|
||||||
if (internal::is_same<Scalar,float>::value)
|
|
||||||
largeEps = 1e-2f;
|
|
||||||
|
|
||||||
Vector3 v0 = Vector3::Random(),
|
Vector3 v0 = Vector3::Random(),
|
||||||
v1 = Vector3::Random(),
|
v1 = Vector3::Random(),
|
||||||
v2 = Vector3::Random();
|
v2 = Vector3::Random();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user