mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-04 18:54:00 +08:00
Add test for issue #75 (Hessenberg of 1x1 matrix).
Also remove an superfluous #include in matrixExponential test.
This commit is contained in:
parent
5cb779e5e1
commit
945cbc3bc6
@ -60,5 +60,6 @@ void test_eigensolver_complex()
|
|||||||
for(int i = 0; i < g_repeat; i++) {
|
for(int i = 0; i < g_repeat; i++) {
|
||||||
CALL_SUBTEST_1( eigensolver(Matrix4cf()) );
|
CALL_SUBTEST_1( eigensolver(Matrix4cf()) );
|
||||||
CALL_SUBTEST_2( eigensolver(MatrixXcd(14,14)) );
|
CALL_SUBTEST_2( eigensolver(MatrixXcd(14,14)) );
|
||||||
|
CALL_SUBTEST_3( eigensolver(Matrix<std::complex<float>, 1, 1>()) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
// Eigen. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "main.h"
|
#include "main.h"
|
||||||
#include <Eigen/StdVector>
|
|
||||||
#include <unsupported/Eigen/MatrixFunctions>
|
#include <unsupported/Eigen/MatrixFunctions>
|
||||||
|
|
||||||
double binom(int n, int k)
|
double binom(int n, int k)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user