Skip to content

Commit 7e5eef5

Browse files
Remove outdated Julia version check and unnecessary code
Since Julia v1.10 is the current LTS, the version check for Julia >= v1.7 is no longer needed. This commit removes both the conditional block and the inference test code that was inside it, as it's no longer necessary. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5fedf7f commit 7e5eef5

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

test/forwarddiff_dual_detection.jl

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,6 @@ for p in p_possibilities17
9898
@test DiffEqBase.promote_u0(u0, p, t0) isa ForwardDiff.Dual
9999
@test DiffEqBase.promote_u0([cis(u0)], p, t0) isa
100100
AbstractArray{<:Complex{<:ForwardDiff.Dual}}
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
110101
end
111102

112103
p_possibilities_uninferrred = [

0 commit comments

Comments
 (0)