File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,11 @@ for p in p_possibilities17
99
99
@test DiffEqBase. promote_u0 ([cis (u0)], p, t0) isa
100
100
AbstractArray{<: Complex{<:ForwardDiff.Dual} }
101
101
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
110
107
end
111
108
112
109
p_possibilities_uninferrred = [
You can’t perform that action at this time.
0 commit comments