Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
eliascarv committed Dec 5, 2024
1 parent 13aae79 commit d1605dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/conversion.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ Returns 1. (Avoids effort when unnecessary.)
convfact(s::Units{S}, t::Units{S}) where {S} = 1

"""
convfact(T::Type, s::Units{S}, t::Units{S})
Returns a appropriate conversion factor from unit `t` to unit `s` for number type `T`.
convfact(T::Type, s::Units, t::Units)
Returns the appropriate conversion factor from unit `t` to unit `s` for the number type `T`.
"""
function convfact(::Type{T}, s::Units, t::Units) where {T<:Number}
cf = convfact(s, t)
Expand Down

0 comments on commit d1605dc

Please sign in to comment.