Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion authored Mar 8, 2022
1 parent 930694e commit 818936a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dual.jl
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ if VERSION < v"1.8.0-DEV.725"
Base.precision(::Type{D}) where {D<:Dual} = precision(valtype(D))
else
Base.precision(d::Dual; base::Integer=2) = precision(value(d); base=base)
function Base.precision(::Type{D}; base::Integer=2) where {D<Dual}
function Base.precision(::Type{D}; base::Integer=2) where {D<:Dual}
precision(valtype(d); base=base)
end
end
Expand Down

0 comments on commit 818936a

Please sign in to comment.