mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-11 11:19:02 +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:
|
/* this test covers the following files:
|
||||||
Inverse.h
|
Inverse.h
|
||||||
*/
|
*/
|
||||||
MatrixType::Index rows = m.rows();
|
typename MatrixType::Index rows = m.rows();
|
||||||
MatrixType::Index cols = m.cols();
|
typename MatrixType::Index cols = m.cols();
|
||||||
MatrixType m1(rows, cols), m2(rows, cols), m3(rows, cols),
|
MatrixType m1(rows, cols), m2(rows, cols), m3(rows, cols),
|
||||||
identity = MatrixType::Identity(rows, rows);
|
identity = MatrixType::Identity(rows, rows);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user