diff --git a/src/Units.jl b/src/Units.jl index 9d7ba803..87109ba9 100644 --- a/src/Units.jl +++ b/src/Units.jl @@ -986,8 +986,11 @@ function Unitful.superscript(i::Float64) end end -function upgrade_GeoUnits(a) - return GEO_units(length = a.length, temperature = a.temperature, stress = a.stress, viscosity = a.viscosity) +""" +Function which recreates an outdated `GeoUnits` object in line with the current format +""" +function upgrade_GeoUnits(a) + return GEO_units(length = a.length, temperature = a.temperature, stress = a.stress, viscosity = a.viscosity) end end