Fixed Eigen_vector's dimension() returning an Eigen::Index and not int

This commit is contained in:
Mael Rouxel-Labbé 2017-06-23 10:33:51 +02:00
parent 79add870ce
commit 262b24a87b
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ public:
/// Return the vector's number of coefficients.
int dimension() const {
return this->size();
return static_cast<int>(this->size());
}
/// Get vector wrapped by this object.