Skip to content

Commit 7ee8e01

Browse files
Remove outdated Julia version check for v1.7
Since Julia v1.10 is the current minimum supported version (as specified in Project.toml), the version check for Julia >= v1.7 is always true and can be removed. The code inside the conditional block is kept since it should always execute. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5fedf7f commit 7ee8e01

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

test/forwarddiff_dual_detection.jl

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,14 +99,12 @@ 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+
# v1.6 does not infer `getproperty` mapping
103+
@inferred DiffEqBase.anyeltypedual(p)
104+
ci = InteractiveUtils.@code_typed DiffEqBase.anyeltypedual(p)
105+
@show filter(!=(Expr(:code_coverage_effect)), ci.first.code)
106+
#@test count(x -> (x != (Expr(:code_coverage_effect))) &&
107+
# (x != GlobalRef(DiffEqBase, :Any)), ci.first.code) == 1
110108
end
111109

112110
p_possibilities_uninferrred = [

0 commit comments

Comments
 (0)