Skip to content

Commit 055a366

Browse files
Merge pull request #1179 from SciML/remove-outdated-version-checks
Remove outdated Julia version check for v1.7
2 parents 5fedf7f + 273e8b8 commit 055a366

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

test/forwarddiff_dual_detection.jl

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,11 @@ for p in p_possibilities17
9999
@test DiffEqBase.promote_u0([cis(u0)], p, t0) isa
100100
AbstractArray{<:Complex{<:ForwardDiff.Dual}}
101101

102-
if VERSION >= v"1.7"
103-
# v1.6 does not infer `getproperty` mapping
104-
@inferred DiffEqBase.anyeltypedual(p)
105-
ci = InteractiveUtils.@code_typed DiffEqBase.anyeltypedual(p)
106-
@show filter(!=(Expr(:code_coverage_effect)), ci.first.code)
107-
#@test count(x -> (x != (Expr(:code_coverage_effect))) &&
108-
# (x != GlobalRef(DiffEqBase, :Any)), ci.first.code) == 1
109-
end
102+
@inferred DiffEqBase.anyeltypedual(p)
103+
ci = InteractiveUtils.@code_typed DiffEqBase.anyeltypedual(p)
104+
@show filter(!=(Expr(:code_coverage_effect)), ci.first.code)
105+
#@test count(x -> (x != (Expr(:code_coverage_effect))) &&
106+
# (x != GlobalRef(DiffEqBase, :Any)), ci.first.code) == 1
110107
end
111108

112109
p_possibilities_uninferrred = [

0 commit comments

Comments
 (0)