Skip to content

Commit

Permalink
deprecated experimental feature
Browse files Browse the repository at this point in the history
  • Loading branch information
chakravala committed Jun 17, 2023
1 parent a678fe0 commit 621df19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 1 addition & 5 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/Geophysics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/chemistry.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

2 comments on commit 621df19

@chakravala
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/85776

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.7 -m "<description of version>" 621df19991a07bade523008299bc77280e8ab516
git push origin v0.3.7

Please sign in to comment.