Skip to content

Commit

Permalink
lowering tolerance
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Sep 20, 2024
1 parent 8baafb2 commit 7a0819d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/solver/test_linear_solver_policy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void testExtremeInitialValue(std::size_t number_of_blocks, double initial_value)
CopyToHostDense<MatrixPolicy>(x);

check_results<FloatingPointType, MatrixPolicy, SparseMatrixPolicy>(
A, b, x, [&](const FloatingPointType a, const FloatingPointType b) -> void { EXPECT_NEAR(a, b, 1.0e-10); });
A, b, x, [&](const FloatingPointType a, const FloatingPointType b) -> void { EXPECT_NEAR(a, b, 1.0e-14); });
}

template<class MatrixPolicy, class SparseMatrixPolicy, class LinearSolverPolicy>
Expand Down Expand Up @@ -356,4 +356,4 @@ void testMarkowitzReordering()
EXPECT_GT(
orig_LU.first.RowIdsVector().size() + orig_LU.second.RowIdsVector().size(),
reordered_LU.first.RowIdsVector().size() + reordered_LU.second.RowIdsVector().size());
}
}

0 comments on commit 7a0819d

Please sign in to comment.