diff --git a/Project.toml b/Project.toml index c7be438..066e040 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "UnitSystems" uuid = "3a241a3c-2137-41aa-af5e-1388e404ca09" authors = ["Michael Reed"] -version = "0.3.3" +version = "0.3.4" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" diff --git a/src/UnitSystems.jl b/src/UnitSystems.jl index 8adab6d..0ee2f90 100644 --- a/src/UnitSystems.jl +++ b/src/UnitSystems.jl @@ -245,9 +245,9 @@ However, most other constructors for `UnitSystem` derivations are based on inter This means `EntropySystem` also constructs the examples listed there. """ function EntropySystem(u,t,l,m,θ=one(u)); tt = t*t; e = m*l*l/tt - EntropySystem(u,t,l,m,θ,permeability(u)/(m*l),molarmass(u)/m,gravity(u)*tt/l,m*l*l/(t*t)) + EntropySystem(u,t,l,m,θ,permeability(u)/(m*l),molarmass(u)/m,gravity(u),m*l*l/(t*t)) end -function EntropySystem(u,t,l,m,θ,μ0,Mu=molarmass(u)/m,g0=gravity(u)*(t*t/l),e=m*l*l/(t*t),λ=one(u),αL=one(u)) +function EntropySystem(u,t,l,m,θ,μ0,Mu=molarmass(u)/m,g0=gravity(u),e=m*l*l/(t*t),λ=one(u),αL=one(u)) UnitSystem( boltzmann(u)*θ/e/g0, planckreduced(u)/t/e/g0,