We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6bb171 commit 6fc0e1dCopy full SHA for 6fc0e1d
test/linalg/test_linalg_qr.fypp
@@ -6,6 +6,7 @@ module test_linalg_qr
6
use stdlib_linalg_constants
7
use stdlib_linalg_state, only: LINALG_VALUE_ERROR,linalg_state_type
8
use stdlib_linalg, only: qr,qr_space
9
+ use ieee_arithmetic, only: ieee_value,ieee_quiet_nan
10
11
implicit none (type,external)
12
@@ -51,10 +52,8 @@ module test_linalg_qr
51
52
aorig = a
53
54
! 1) QR factorization with full matrices. Input NaNs to be sure Q and R are OK on return
- q = 0.0_${rk}$
55
- q = 1.0_${rk}$/q
56
- r = 0.0_${rk}$
57
- r = 1.0_${rk}$/r
+ q = ieee_value(0.0_${rk}$,ieee_quiet_nan)
+ r = ieee_value(0.0_${rk}$,ieee_quiet_nan)
58
call qr(a,q,r,err=state)
59
60
! Check return code
0 commit comments