Skip to content

Commit

Permalink
Fix CI pipeline error.
Browse files Browse the repository at this point in the history
  • Loading branch information
pelesh committed Sep 21, 2024
1 parent 5160962 commit 0232d80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functionality/testLUSOL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ int main(int argc, char* argv[])
delete[] x_data;
real_type scaled_residual_norm_two = normRmatrix / normB;

if (!isfinite(scaled_residual_norm_one) || !isfinite(scaled_residual_norm_two)) {
if (!std::isfinite(scaled_residual_norm_one) || !std::isfinite(scaled_residual_norm_two)) {
std::cout << "Result is not a finite number!\n";
error_sum++;
}
Expand Down

0 comments on commit 0232d80

Please sign in to comment.