File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,6 @@ contains
2222 end subroutine collect_string_to_number
2323
2424 #:for k1, t1 in REAL_KINDS_TYPES
25- #:if k1 != "xdp"
2625 subroutine test_to_${k1}$(error)
2726 type(error_type), allocatable, intent(out) :: error
2827 integer, parameter :: wp = ${k1}$
@@ -115,6 +114,8 @@ contains
115114 if(abs(rel_err) > 0.0_wp) then
116115 #:elif k1 == "dp"
117116 if(abs(rel_err) > epsilon(0.0_wp)) then
117+ #:elif k1 == "xdp"
118+ if(abs(rel_err) > 200*epsilon(0.0_wp)) then
118119 #:elif k1 == "qp"
119120 if(abs(rel_err) > 200*epsilon(0.0_wp)) then
120121 #:endif
@@ -126,8 +127,7 @@ contains
126127 end if
127128 end function
128129 end subroutine
129-
130- #:endif
130+
131131 #:endfor
132132
133133end module test_string_to_number
You can’t perform that action at this time.
0 commit comments