Eigen 3.4.0 no longer supports floating-point indices. This PR addresses compilation and compile errors caused by using floating-point indices in the project.
Solution
All matrix indices have been changed from floating-point to integer types.
Key changes:
Replaced float type indices with int type.
Adjusted input parameter types of related functions.
Testing
Tested on Ubuntu 20.04, ROS Noetic, and Eigen 3.4.0.
Additional notes
Please note that this change may affect old code that uses floating-point indices. It is recommended to carefully review and update related code after upgrading the Eigen version.
Problem
Eigen 3.4.0 no longer supports floating-point indices. This PR addresses compilation and compile errors caused by using floating-point indices in the project.
Solution
float
type indices withint
type.Testing
Tested on Ubuntu 20.04, ROS Noetic, and Eigen 3.4.0.
Additional notes
Please note that this change may affect old code that uses floating-point indices. It is recommended to carefully review and update related code after upgrading the Eigen version.
Welcome to provide suggestions and improvements.