Skip to content

Commit

Permalink
Remove useless where specification
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Apr 3, 2021
1 parent 287f575 commit e71f520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ end

Base.log(::Irrational{:ℯ}, a::Measurement) = log(a)

function Base.log(a::Real, b::Measurement{T}) where {T<:AbstractFloat}
function Base.log(a::Real, b::Measurement)
bval = b.val
return result(log(a, bval), inv(log(a) * bval), b)
end
Expand Down

0 comments on commit e71f520

Please sign in to comment.