From 621df19991a07bade523008299bc77280e8ab516 Mon Sep 17 00:00:00 2001 From: Michael Reed <18372368+chakravala@users.noreply.github.com> Date: Sat, 17 Jun 2023 06:21:07 -0400 Subject: [PATCH] deprecated experimental feature --- Project.toml | 6 +----- src/Geophysics.jl | 2 +- src/chemistry.jl | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/Project.toml b/Project.toml index 480f199..d814662 100644 --- a/Project.toml +++ b/Project.toml @@ -1,21 +1,17 @@ name = "Geophysics" uuid = "74efdf00-b554-44e1-bd21-abb9281d951c" authors = ["Michael Reed"] -version = "0.3.6" +version = "0.3.7" [deps] LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" AbstractTensors = "a8e43f4a-99b7-5565-8bf1-0165161caaea" UnitSystems = "3a241a3c-2137-41aa-af5e-1388e404ca09" -Similitude = "d70e672a-ff44-4dfc-8031-4cc812d84922" -MeasureSystems = "ea45d09e-59d0-491b-a101-09823c6a9fd4" [compat] julia = "1" AbstractTensors = "0.7" UnitSystems = "0.3.3" -Similitude = "0.2" -MeasureSystems = "0.1" [extras] Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" diff --git a/src/Geophysics.jl b/src/Geophysics.jl index a04aab6..850986d 100644 --- a/src/Geophysics.jl +++ b/src/Geophysics.jl @@ -34,7 +34,7 @@ gage(P::Real,P0::Real=pressure()) = P-P0 export Metric, English, British import UnitSystems import UnitSystems: units -const usingSimilitude = UnitSystems.similitude() +const usingSimilitude = false#UnitSystems.similitude() if usingSimilitude import UnitSystems diff --git a/src/chemistry.jl b/src/chemistry.jl index ca02873..0e80cd4 100644 --- a/src/chemistry.jl +++ b/src/chemistry.jl @@ -254,7 +254,7 @@ struct Mixture{M,N,C} <: AbstractMole{M} end Mixture{N,C}(f) where {N,C} = Mixture{fâ‹…relativemass.(C),N,C}(f) -Mixture{C}(f) where {C,U} = Mixture{length(C),C}(f) +Mixture{C}(f) where C = Mixture{length(C),C}(f) @pure chemical(::Mixture{M,N,C}) where {M,N,C} = C @pure molecules(::Mixture{M,N,C}) where {M,N,C} = Values(C)