mirror of
https://github.com/yuzu-emu/FasTC
synced 2024-11-22 16:03:36 +00:00
Relax the test parameters on eigenvalue calculation
This commit is contained in:
parent
ce99d79bab
commit
c5aab908ef
1 changed files with 2 additions and 2 deletions
|
@ -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