diff options
author | Gael Guennebaud <g.gael@free.fr> | 2009-12-04 23:17:14 +0100 |
---|---|---|
committer | Gael Guennebaud <g.gael@free.fr> | 2009-12-04 23:17:14 +0100 |
commit | 8e05f9cfa1538d76a9d3e01e08ba565bd581806a (patch) | |
tree | e3ba56b1c37c00ce1da70277e8ef2a86a48c6173 /test | |
parent | 80ebeae48d7b56500d9ebc8abd2789061af145e1 (diff) |
add a DenseBase class for MAtrixBase and ArrayBase and more code factorisation
Diffstat (limited to 'test')
-rw-r--r-- | test/geo_alignedbox.cpp | 1 | ||||
-rw-r--r-- | test/geo_eulerangles.cpp | 1 | ||||
-rw-r--r-- | test/geo_homogeneous.cpp | 1 | ||||
-rw-r--r-- | test/geo_hyperplane.cpp | 1 | ||||
-rw-r--r-- | test/geo_orthomethods.cpp | 1 | ||||
-rw-r--r-- | test/geo_parametrizedline.cpp | 1 | ||||
-rw-r--r-- | test/geo_quaternion.cpp | 3 | ||||
-rw-r--r-- | test/geo_transformations.cpp | 1 |
8 files changed, 1 insertions, 9 deletions
diff --git a/test/geo_alignedbox.cpp b/test/geo_alignedbox.cpp index d6b6e1bb3..d496578da 100644 --- a/test/geo_alignedbox.cpp +++ b/test/geo_alignedbox.cpp @@ -22,7 +22,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> diff --git a/test/geo_eulerangles.cpp b/test/geo_eulerangles.cpp index 049652aab..98cdf6a86 100644 --- a/test/geo_eulerangles.cpp +++ b/test/geo_eulerangles.cpp @@ -22,7 +22,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> diff --git a/test/geo_homogeneous.cpp b/test/geo_homogeneous.cpp index 6bae9c31a..48d8cbcdf 100644 --- a/test/geo_homogeneous.cpp +++ b/test/geo_homogeneous.cpp @@ -22,7 +22,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> diff --git a/test/geo_hyperplane.cpp b/test/geo_hyperplane.cpp index 769bf3183..3cf5655c2 100644 --- a/test/geo_hyperplane.cpp +++ b/test/geo_hyperplane.cpp @@ -23,7 +23,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> diff --git a/test/geo_orthomethods.cpp b/test/geo_orthomethods.cpp index cae860464..54a6febab 100644 --- a/test/geo_orthomethods.cpp +++ b/test/geo_orthomethods.cpp @@ -22,7 +22,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> diff --git a/test/geo_parametrizedline.cpp b/test/geo_parametrizedline.cpp index 38496a6b0..137324a98 100644 --- a/test/geo_parametrizedline.cpp +++ b/test/geo_parametrizedline.cpp @@ -23,7 +23,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> diff --git a/test/geo_quaternion.cpp b/test/geo_quaternion.cpp index 9a06a7bd9..239284d64 100644 --- a/test/geo_quaternion.cpp +++ b/test/geo_quaternion.cpp @@ -23,7 +23,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> @@ -96,7 +95,7 @@ template<typename Scalar> void quaternion(void) VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); if (ei_is_same_type<Scalar,double>::ret) { - v3 = v1.cwise()+eps; + v3 = v1.array()+eps; VERIFY_IS_APPROX( v3.normalized(),(q2.setFromTwoVectors(v1, v3)*v1).normalized()); VERIFY_IS_APPROX(-v3.normalized(),(q2.setFromTwoVectors(v1,-v3)*v1).normalized()); } diff --git a/test/geo_transformations.cpp b/test/geo_transformations.cpp index 334771261..2477ea925 100644 --- a/test/geo_transformations.cpp +++ b/test/geo_transformations.cpp @@ -22,7 +22,6 @@ // License and a copy of the GNU General Public License along with // Eigen. If not, see <http://www.gnu.org/licenses/>. -#define EIGEN2_SUPPORT #include "main.h" #include <Eigen/Geometry> #include <Eigen/LU> |