Skip to content

Commit

Permalink
Merge pull request JuliaLang#2280 from GlenHertz/patch-1
Browse files Browse the repository at this point in the history
Convert Herz to Hertz (for rates)
  • Loading branch information
Viral B. Shah committed Feb 12, 2013
2 parents ca185f3 + 10b77b7 commit 57959ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extras/units.jl
Original file line number Diff line number Diff line change
Expand Up @@ -252,11 +252,11 @@ _unit_gen_dict(utable[2:end])
end

# Rate units
type Herz <: UnitBase end
type Hertz <: UnitBase end
let
# Unit RefUnit ToRef show pshow lshow fshow
const utable = {
(Herz, Herz, 1, "Hz", "Hz", "Hz", "Herz")
(Hertz, Hertz, 1, "Hz", "Hz", "Hz", "Hertz")
}
_unit_gen_func_multiplicative(utable)
_unit_gen_dict_with_prefix(utable)
Expand Down

0 comments on commit 57959ba

Please sign in to comment.