aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/IO.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-10 17:23:11 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-03-10 17:23:11 +0000
commit01572b9f54e769a7d1bb3d5073c264a5fbc7ce42 (patch)
treeea9b9ef0469040e8b8ae0805f77d726c319dfeac /Eigen/src/Core/IO.h
parent9d9d81ad71a52c33ba4db9f8a6059d435d279316 (diff)
big change: MatrixBase only takes one template parameter "Derived", the
template parameter "Scalar" is removed. This is achieved by introducting a template <typename Derived> struct Scalar to achieve a forward-declaration of the Scalar typedefs.
Diffstat (limited to 'Eigen/src/Core/IO.h')
-rw-r--r--Eigen/src/Core/IO.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Eigen/src/Core/IO.h b/Eigen/src/Core/IO.h
index a02f2bcb7..db384b024 100644
--- a/Eigen/src/Core/IO.h
+++ b/Eigen/src/Core/IO.h
@@ -29,10 +29,10 @@
*
* Outputs the matrix, laid out as an array as usual, to the given stream.
*/
-template<typename Scalar, typename Derived>
+template<typename Derived>
std::ostream & operator <<
( std::ostream & s,
- const MatrixBase<Scalar, Derived> & m )
+ const MatrixBase<Derived> & m )
{
for( int i = 0; i < m.rows(); i++ )
{