Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Added any because the argument is a vector
  • Loading branch information
daminton committed May 27, 2021
1 parent 79de855 commit c3f51cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/util_solve_linear_system.f90
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function util_solve_linear_system_d(A,b,n,lerr) result(x)

call ieee_get_flag(ieee_usual, fpe_flag)
lerr = any(fpe_flag)
if (lerr .or. (abs(qx) > huge(x)) .or. (abs(qx) < tiny(x))) then
if (lerr .or. (any(abs(qx) > huge(x))) .or. (any(abs(qx) < tiny(x)))) then
x = 0.0_DP
write(*,*) 'fpe in util_solve_linear_system'
else
Expand Down

0 comments on commit c3f51cb

Please sign in to comment.