mirror of https://github.com/CGAL/cgal
Fixed Eigen_vector's dimension() returning an Eigen::Index and not int
This commit is contained in:
parent
79add870ce
commit
262b24a87b
|
|
@ -72,7 +72,7 @@ public:
|
||||||
|
|
||||||
/// Return the vector's number of coefficients.
|
/// Return the vector's number of coefficients.
|
||||||
int dimension() const {
|
int dimension() const {
|
||||||
return this->size();
|
return static_cast<int>(this->size());
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Get vector wrapped by this object.
|
/// Get vector wrapped by this object.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue