diff options
author | 2011-06-27 13:15:01 +0200 | |
---|---|---|
committer | 2011-06-27 13:15:01 +0200 | |
commit | c98cd5e564f75be2edc7c5d18491058d025fa796 (patch) | |
tree | 17e759636e28d6aed5ffb937b4908cd7a34af1f3 /Eigen/src/Geometry/Hyperplane.h | |
parent | 0b308e79c4731c093a8bbe2adc3bb9dc4ff3eb12 (diff) |
fix constness of intersection methods (bug #309)
Diffstat (limited to 'Eigen/src/Geometry/Hyperplane.h')
-rw-r--r-- | Eigen/src/Geometry/Hyperplane.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Geometry/Hyperplane.h b/Eigen/src/Geometry/Hyperplane.h index 00e027040..eb0a58771 100644 --- a/Eigen/src/Geometry/Hyperplane.h +++ b/Eigen/src/Geometry/Hyperplane.h @@ -189,7 +189,7 @@ public: * * \note If \a other is approximately parallel to *this, this method will return any point on *this. */ - VectorType intersection(const Hyperplane& other) + VectorType intersection(const Hyperplane& other) const { EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(VectorType, 2) Scalar det = coeffs().coeff(0) * other.coeffs().coeff(1) - coeffs().coeff(1) * other.coeffs().coeff(0); |