mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 05:25:33 +00:00
Relax the test parameters on eigenvalue calculation
This commit is contained in:
parent
ce99d79bab
commit
c5aab908ef
|
@ -239,8 +239,8 @@ TEST(MatrixSquare, PowerMethod) {
|
||||||
FasTC::VectorBase<double, 2> x;
|
FasTC::VectorBase<double, 2> x;
|
||||||
A.PowerMethod(x, &e, 20, 200);
|
A.PowerMethod(x, &e, 20, 200);
|
||||||
|
|
||||||
EXPECT_NEAR(x[0], 0.83205f, 0.0001);
|
EXPECT_NEAR(x[0], 0.83205f, 0.0002);
|
||||||
EXPECT_NEAR(x[1], 0.5547f, 0.0001);
|
EXPECT_NEAR(x[1], 0.5547f, 0.0002);
|
||||||
|
|
||||||
EXPECT_NEAR(e, 1.f, 0.0001);
|
EXPECT_NEAR(e, 1.f, 0.0001);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue