Skip to content

Commit

Permalink
Merge pull request #14 from jagoosw/jsw/adapt_patch
Browse files Browse the repository at this point in the history
Fix adapt in wind_driven_stokes.jl
  • Loading branch information
jagoosw authored Dec 22, 2024
2 parents 3ecff2e + 2718a6b commit f7337c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Walrus"
uuid = "bec5164f-1c7a-4c32-8768-be9354254d6a"
authors = ["Jago Stong-Wright <[email protected]>"]
version = "0.5.4"
version = "0.5.5"

[deps]
Adapt = "79e6a3ab-5dfb-504d-930d-738a2a938a0e"
Expand Down
4 changes: 2 additions & 2 deletions src/wind_driven_stokes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module WindDrivenStokesParameterisation

export WindDrivenStokesDrift, WindDrivenStokesDriftSetup

using Roots
using Roots, Adapt

using Oceananigans.Architectures: on_architecture, CPU, architecture
using Oceananigans.BuoyancyModels: g_Earth
Expand Down Expand Up @@ -169,4 +169,4 @@ function WindDrivenStokesDriftSetup(; wind, depth,
return UniformStokesDrift(; ∂z_uˢ, ∂z_vˢ, ∂t_uˢ, ∂t_vˢ, parameters = parameterisation)
end

end # module
end # module

2 comments on commit f7337c1

@jagoosw
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
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/121851

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.5.5 -m "<description of version>" f7337c141abf174acad21398e5490c0302824b6c
git push origin v0.5.5

Also, note the warning: Version 0.5.5 skips over 0.5.4
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.

Please sign in to comment.