mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
fix bad typos, thanks to Kenneth Riddile
This commit is contained in:
parent
c22d10f94c
commit
5f582aa4e8
@ -70,7 +70,7 @@ public:
|
|||||||
/** Construct a plane from its normal \a n and a point \a e onto the plane.
|
/** Construct a plane from its normal \a n and a point \a e onto the plane.
|
||||||
* \warning the vector normal is assumed to be normalized.
|
* \warning the vector normal is assumed to be normalized.
|
||||||
*/
|
*/
|
||||||
inline Hyperplane(const VectorType& n, const VectorType e)
|
inline Hyperplane(const VectorType& n, const VectorType& e)
|
||||||
: m_coeffs(n.size()+1)
|
: m_coeffs(n.size()+1)
|
||||||
{
|
{
|
||||||
normal() = n;
|
normal() = n;
|
||||||
|
@ -336,14 +336,14 @@ class SparseMatrix
|
|||||||
{
|
{
|
||||||
EIGEN_DBG_SPARSE(
|
EIGEN_DBG_SPARSE(
|
||||||
s << "Nonzero entries:\n";
|
s << "Nonzero entries:\n";
|
||||||
for (uint i=0; i<m.nonZeros(); ++i)
|
for (unsigned int i=0; i<m.nonZeros(); ++i)
|
||||||
{
|
{
|
||||||
s << "(" << m.m_data.value(i) << "," << m.m_data.index(i) << ") ";
|
s << "(" << m.m_data.value(i) << "," << m.m_data.index(i) << ") ";
|
||||||
}
|
}
|
||||||
s << std::endl;
|
s << std::endl;
|
||||||
s << std::endl;
|
s << std::endl;
|
||||||
s << "Column pointers:\n";
|
s << "Column pointers:\n";
|
||||||
for (uint i=0; i<m.cols(); ++i)
|
for (unsigned int i=0; i<m.cols(); ++i)
|
||||||
{
|
{
|
||||||
s << m.m_outerIndex[i] << " ";
|
s << m.m_outerIndex[i] << " ";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user