Skip to content

Commit 7ddb30b

Browse files
(0.3.2) Correct architecture bug and update packages (#314)
* Update ocean_sea_ice_model.jl * Update Project.toml * update packages * introduce eltype * bugfix
1 parent 4487544 commit 7ddb30b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Project.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name = "ClimaOcean"
22
uuid = "0376089a-ecfe-4b0e-a64f-9c555d74d754"
33
license = "MIT"
44
authors = ["Climate Modeling Alliance and contributors"]
5-
version = "0.3.1"
5+
version = "0.3.2"
66

77
[deps]
88
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
@@ -42,9 +42,9 @@ JLD2 = "0.4, 0.5"
4242
KernelAbstractions = "0.9"
4343
MPI = "0.20"
4444
NCDatasets = "0.12, 0.13, 0.14"
45-
Oceananigans = "0.95.2 - 0.99"
45+
Oceananigans = "0.95.4 - 0.99"
4646
OffsetArrays = "1.14"
47-
OrthogonalSphericalShellGrids = "0.2.0"
47+
OrthogonalSphericalShellGrids = "0.2.1"
4848
Scratch = "1"
4949
SeawaterPolynomials = "0.3.4"
5050
StaticArrays = "1"

src/OceanSeaIceModels/ocean_sea_ice_model.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ function Base.show(io::IO, cm::OSIM)
4242
end
4343

4444
# Assumption: We have an ocean!
45-
architecture(model::OSIM) = architecture(model.ocean)
45+
architecture(model::OSIM) = architecture(model.ocean.model)
46+
Base.eltype(model::OSIM) = Base.eltype(model.ocean.model)
4647

4748
prettytime(model::OSIM) = prettytime(model.clock.time)
4849
iteration(model::OSIM) = model.clock.iteration

0 commit comments

Comments
 (0)