Skip to content

Commit

Permalink
fix: Too much overloading of angular momentum
Browse files Browse the repository at this point in the history
Accidentally left the type signature off of the overloaded definition of
angular momentum in 92abcb2.
Fix this.
  • Loading branch information
musoke committed Nov 22, 2022
1 parent 12284bc commit 7d9980a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "UltraDark"
uuid = "1c8d022d-dfc0-4b41-80ab-3fc7e88cdfea"
authors = ["Nathan Musoke <[email protected]>"]
version = "0.9.0"
version = "0.9.1"

[deps]
AbstractFFTs = "621f4979-c628-5d54-868e-fcf4e3e8185c"
Expand Down
2 changes: 1 addition & 1 deletion src/pencil_grids.jl
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ function PencilGrids(length_tuple, resol_tuple::Tuple{Int,Int,Int})::PencilGrids
)
end

function angular_momentum_density(grids, ψx, ρx)
function angular_momentum_density(grids::PencilGrids, ψx, ρx)

angular_momentum = zeros(3, size(ρx)...)

Expand Down

2 comments on commit 7d9980a

@musoke
Copy link
Owner Author

@musoke musoke commented on 7d9980a Nov 22, 2022

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/72687

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

Please sign in to comment.