From 4d74e126e842c8dadd8e17b2cede072f7636014b Mon Sep 17 00:00:00 2001 From: jvallve <jvallve@224674b8-e365-4e73-a4a8-558dbbfec58c> Date: Thu, 17 Dec 2015 14:28:04 +0000 Subject: [PATCH] changed typedefs of Eigen::Matrix to Rowmajor. TODO: change name, it collides with same wolf typedefs --- src/laser_scan_utils.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/laser_scan_utils.h b/src/laser_scan_utils.h index 8f759dc..c078c45 100644 --- a/src/laser_scan_utils.h +++ b/src/laser_scan_utils.h @@ -20,10 +20,10 @@ namespace laserscanutils namespace Eigen { // 1. Vectors and Matrices - typedef Matrix<laserscanutils::ScalarT, 2, 2> Matrix2s; ///< 2x2 matrix of real scalar_t type - typedef Matrix<laserscanutils::ScalarT, 3, 3> Matrix3s; ///< 3x3 matrix of real scalar_t type - typedef Matrix<laserscanutils::ScalarT, 4, 4> Matrix4s; ///< 4x4 matrix of real scalar_t type - typedef Matrix<laserscanutils::ScalarT, Dynamic, Dynamic> MatrixXs; ///< variable size matrix of real scalar_t type + typedef Matrix<laserscanutils::ScalarT, 2, 2, Eigen::RowMajor> Matrix2s; ///< 2x2 matrix of real scalar_t type + typedef Matrix<laserscanutils::ScalarT, 3, 3, Eigen::RowMajor> Matrix3s; ///< 3x3 matrix of real scalar_t type + typedef Matrix<laserscanutils::ScalarT, 4, 4, Eigen::RowMajor> Matrix4s; ///< 4x4 matrix of real scalar_t type + typedef Matrix<laserscanutils::ScalarT, Dynamic, Dynamic, Eigen::RowMajor> MatrixXs; ///< variable size matrix of real scalar_t type typedef Matrix<laserscanutils::ScalarT, 1, 1> Vector1s; ///< 1-vector of real scalar_t type typedef Matrix<laserscanutils::ScalarT, 2, 1> Vector2s; ///< 2-vector of real scalar_t type typedef Matrix<laserscanutils::ScalarT, 3, 1> Vector3s; ///< 3-vector of real scalar_t type -- GitLab