mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Avoid including <sstream> with EIGEN_NO_IO
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
7dd3dda3da
commit
b7668c0371
@@ -353,6 +353,7 @@ class SparseVector
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef EIGEN_NO_IO
|
||||
friend std::ostream & operator << (std::ostream & s, const SparseVector& m)
|
||||
{
|
||||
for (Index i=0; i<m.nonZeros(); ++i)
|
||||
@@ -360,6 +361,7 @@ class SparseVector
|
||||
s << std::endl;
|
||||
return s;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** Destructor */
|
||||
inline ~SparseVector() {}
|
||||
|
||||
Reference in New Issue
Block a user