Skip to content

Commit 11540a0

Browse files
committed
chore: remove 1.8 checks
1 parent c722819 commit 11540a0

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/dual.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,8 +298,6 @@ Base.copy(d::Dual) = d
298298
Base.eps(d::Dual) = eps(value(d))
299299
Base.eps(::Type{D}) where {D<:Dual} = eps(valtype(D))
300300

301-
# The `base` keyword was added in Julia 1.8:
302-
# https://github.com/JuliaLang/julia/pull/42428
303301
Base.precision(d::Dual; base::Integer=2) = precision(value(d); base=base)
304302
function Base.precision(::Type{D}; base::Integer=2) where {D<:Dual}
305303
precision(valtype(D); base=base)

test/DualTest.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ ForwardDiff.:≺(::Type{OuterTestTag}, ::Type{TestTag}) = false
118118
@test precision(typeof(FDNUM)) === precision(V)
119119
@test precision(NESTED_FDNUM) === precision(PRIMAL)
120120
@test precision(typeof(NESTED_FDNUM)) === precision(V)
121-
122121
@test precision(FDNUM; base=10) === precision(PRIMAL; base=10)
123122
@test precision(typeof(FDNUM); base=10) === precision(V; base=10)
124123
@test precision(NESTED_FDNUM; base=10) === precision(PRIMAL; base=10)

0 commit comments

Comments
 (0)