Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename bp0 and bpp0 to b′0 & b′′0 #80

Merged
merged 3 commits into from
Apr 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/src/Collections.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ julia> eos
Murnaghan{Float64}(4.0, 2.0, 3.0, 0.0)
```

To modify multiple fields (say, `:v0`, `:bp0`, `:bpp0`, `:e0`) at a time, use
To modify multiple fields (say, `:v0`, `:b′0`, `:b′′0`, `:e0`) at a time, use
[`@batchlens`](https://tkf.github.io/Kaleido.jl/stable/#Kaleido.@batchlens) from
[`Kaleido.jl`](https://github.com/tkf/Kaleido.jl):

Expand All @@ -55,11 +55,11 @@ julia> using Setfield, Kaleido

julia> lens = @batchlens(begin
_.v0
_.bp0
_.bpp0
_.b′0
_.b′′0
_.e0
end)
IndexBatchLens(:v0, :bp0, :bpp0, :e0)
IndexBatchLens(:v0, :b′0, :b′′0, :e0)

julia> eos = BirchMurnaghan4th(1, 2.0, 3, 4)
BirchMurnaghan4th{Float64}(1.0, 2.0, 3.0, 4.0, 0.0)
Expand Down
Loading