Skip to content

Commit

Permalink
(0.3.2) Correct architecture bug and update packages (#314)
Browse files Browse the repository at this point in the history
* Update ocean_sea_ice_model.jl

* Update Project.toml

* update packages

* introduce eltype

* bugfix
  • Loading branch information
simone-silvestri authored Dec 23, 2024
1 parent 4487544 commit 7ddb30b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name = "ClimaOcean"
uuid = "0376089a-ecfe-4b0e-a64f-9c555d74d754"
license = "MIT"
authors = ["Climate Modeling Alliance and contributors"]
version = "0.3.1"
version = "0.3.2"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down Expand Up @@ -42,9 +42,9 @@ JLD2 = "0.4, 0.5"
KernelAbstractions = "0.9"
MPI = "0.20"
NCDatasets = "0.12, 0.13, 0.14"
Oceananigans = "0.95.2 - 0.99"
Oceananigans = "0.95.4 - 0.99"
OffsetArrays = "1.14"
OrthogonalSphericalShellGrids = "0.2.0"
OrthogonalSphericalShellGrids = "0.2.1"
Scratch = "1"
SeawaterPolynomials = "0.3.4"
StaticArrays = "1"
Expand Down
3 changes: 2 additions & 1 deletion src/OceanSeaIceModels/ocean_sea_ice_model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ function Base.show(io::IO, cm::OSIM)
end

# Assumption: We have an ocean!
architecture(model::OSIM) = architecture(model.ocean)
architecture(model::OSIM) = architecture(model.ocean.model)
Base.eltype(model::OSIM) = Base.eltype(model.ocean.model)

prettytime(model::OSIM) = prettytime(model.clock.time)
iteration(model::OSIM) = model.clock.iteration
Expand Down

2 comments on commit 7ddb30b

@simone-silvestri
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@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/121882

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

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.2 -m "<description of version>" 7ddb30bd90023a614dec04f4c238c38dabb83ad2
git push origin v0.3.2

Please sign in to comment.