Skip to content

Commit

Permalink
Increase tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilyBourne committed Feb 11, 2025
1 parent 46a94e6 commit 1f6a321
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/mapping/mapping_jacobian_matrix_coef.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ using Matrix_2x2 = std::array<std::array<double, 2>, 2>;
/**
* @brief Check if the two matrix given as input are the same.
*
* The error tolerance is given at 1e-15.
* The error tolerance is given at 1e-14.
*
* @param[in] matrix
* The matrix defined with the matrix function.
Expand All @@ -122,7 +122,7 @@ using Matrix_2x2 = std::array<std::array<double, 2>, 2>;
*/
void check_matrix(Matrix_2x2 matrix, Matrix_2x2 matrix_coeff)
{
const double TOL = 1e-15;
const double TOL = 1e-14;
constexpr std::size_t N = 2;

for (std::size_t i(0); i < N; ++i) {
Expand Down

0 comments on commit 1f6a321

Please sign in to comment.