From f4f80a6b0e79e1b233a16dc4767b853bb64f5efe Mon Sep 17 00:00:00 2001 From: Arne Spang Date: Thu, 6 Mar 2025 16:39:16 +0100 Subject: [PATCH] Added docstring --- src/Units.jl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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