mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-10 02:39:03 +08:00
Compilation fix for matrix_exponential test: add 'typename'.
This commit is contained in:
parent
9726824f7c
commit
8438719111
@ -122,8 +122,8 @@ void randomTest(const MatrixType& m, double tol)
|
||||
/* this test covers the following files:
|
||||
Inverse.h
|
||||
*/
|
||||
MatrixType::Index rows = m.rows();
|
||||
MatrixType::Index cols = m.cols();
|
||||
typename MatrixType::Index rows = m.rows();
|
||||
typename MatrixType::Index cols = m.cols();
|
||||
MatrixType m1(rows, cols), m2(rows, cols), m3(rows, cols),
|
||||
identity = MatrixType::Identity(rows, rows);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user