Skip to content
Snippets Groups Projects
Commit be6b3a4a authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T] Relax KelvinVector{4,6} inverse tolerance.

parent 9ae5f58b
No related branches found
No related tags found
No related merge requests found
......@@ -154,7 +154,7 @@ TEST_F(MaterialLibSolidsKelvinVector4, Inverse)
(inverse(v) - tensorToKelvin<4>(kelvinToTensor(v).inverse()))
.norm();
// The error is only weekly depending on the input vector norm.
return error < 1e-7 && 1e-9 * std::pow(v.norm(), 1.3);
return error < 1e-6 && 1e-8 * std::pow(v.norm(), 1.3);
};
auto eps = std::numeric_limits<double>::epsilon();
......@@ -175,7 +175,7 @@ TEST_F(MaterialLibSolidsKelvinVector6, Inverse)
(inverse(v) - tensorToKelvin<6>(kelvinToTensor(v).inverse()))
.norm();
// The error is only weekly depending on the input vector norm.
return error < 1e-7 && 1e-9 * std::pow(v.norm(), 1.3);
return error < 1e-6 && 1e-8 * std::pow(v.norm(), 1.3);
};
auto eps = std::numeric_limits<double>::epsilon();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment